1
0
Fork 0
mirror of synced 2024-06-22 00:41:10 -04:00
ultimate-vim/sources_non_forked/vim-go/gosnippets/minisnip/_go_tt
Amir Salihefendic a6b64938eb Updated plugins
2018-09-24 21:40:17 -03:00

18 lines
316 B
Plaintext

var tests = []struct {
name string
expected string
given string
}{
{"", "", "",},
}
for _, tt := range tests {
tt := tt
t.Run(tt.name, func(t *testing.T){
actual := {{++}}(tt.given)
if actual != tt.expected {
t.Errorf("{{+~\~1+}}(%s): expected %s, actual %s", tt.given, tt.expected, actual)
}
})
}