You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: none_test.go
    path of file: ./repos/go-starter-kit/vendor/github.com/dgrijalva/jwt-go
    
    the code of the file until where you have to start completion: package jwt_test

import (
	"github.com/dgrijalva/jwt-go"
	"strings"
	"testing"
)

var noneTestData = []struct {
	name        string
	tokenString string
	alg         string
	key     
    
func TestNoneSign(t *testing.T) {
	for _, data := range noneTestData {
		if data.valid {
			parts := strings.Split(data.tokenString, ".")
			method := jwt.GetSigningMethod(data.alg)
			sig, err := method.Sign(strings.Join(parts[0:2], "."), data.key)
			if err != nil {
				t.Errorf("[%v] Error signing token: %v", data.name, err)
			}
			if sig != parts[2] {
				t.Errorf("[%v] Incorrect signature.\nwas:\n%v\nexpecting:\n%v", data.name, sig, parts[2])
			}
		}
	}
}