1
0
Fork 0
mirror of synced 2024-06-27 11:11:10 -04:00
ultimate-vim/sources_non_forked/vim-go/gosnippets/minisnip/_go_tt

18 lines
316 B
Plaintext
Raw Normal View History

2018-09-24 20:40:17 -04:00
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)
}
})
}