630be49632
subrepo: subdir: "dotfiles/.vim/plugged/vim-go" merged: "22b2273cf" upstream: origin: "https://github.com/fatih/vim-go.git" branch: "master" commit: "22b2273cf" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
17 lines
316 B
Text
17 lines
316 B
Text
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)
|
|
}
|
|
|
|
})
|
|
}
|