aboutsummaryrefslogtreecommitdiff
path: root/template/go/snip-test-case.go
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2017-06-17 14:29:11 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2017-06-17 14:29:20 +0900
commit8c8adac4c40809d8ec092f4b1cc58de5bd409413 (patch)
tree47c18e7e12cbeeb520a26def8f55f2ada096e0c2 /template/go/snip-test-case.go
parent136c24fe153538b1b7bc6769f1c12056f0a8ecba (diff)
downloadvim-sonictemplate-8c8adac4c40809d8ec092f4b1cc58de5bd409413.tar.gz
vim-sonictemplate-8c8adac4c40809d8ec092f4b1cc58de5bd409413.tar.bz2
vim-sonictemplate-8c8adac4c40809d8ec092f4b1cc58de5bd409413.zip
want/got
Diffstat (limited to 'template/go/snip-test-case.go')
-rw-r--r--template/go/snip-test-case.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/template/go/snip-test-case.go b/template/go/snip-test-case.go
index b0c295e..ee76293 100644
--- a/template/go/snip-test-case.go
+++ b/template/go/snip-test-case.go
@@ -1,7 +1,7 @@
func Test{{_cursor_}}(t *testing.T) {
- value := 1
- expected := 2
- if value != expected {
- t.Fatalf("Expected %v, but %v:", expected, value)
+ got := 1
+ want := 2
+ if got != want {
+ t.Fatalf("want %v, but %v:", want, got)
}
}