aboutsummaryrefslogtreecommitdiff
path: root/template/go/snip-test-case.go
diff options
context:
space:
mode:
Diffstat (limited to 'template/go/snip-test-case.go')
-rw-r--r--template/go/snip-test-case.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/go/snip-test-case.go b/template/go/snip-test-case.go
index 346cced..b0c295e 100644
--- a/template/go/snip-test-case.go
+++ b/template/go/snip-test-case.go
@@ -2,6 +2,6 @@ func Test{{_cursor_}}(t *testing.T) {
value := 1
expected := 2
if value != expected {
- t.Fatalf("Expected %v, but %d:", value, expected)
+ t.Fatalf("Expected %v, but %v:", expected, value)
}
}