diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-06-17 14:29:11 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-06-17 14:29:20 +0900 |
commit | 8c8adac4c40809d8ec092f4b1cc58de5bd409413 (patch) | |
tree | 47c18e7e12cbeeb520a26def8f55f2ada096e0c2 /template/go/snip-test-case.go | |
parent | 136c24fe153538b1b7bc6769f1c12056f0a8ecba (diff) | |
download | vim-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.go | 8 |
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) } } |