aboutsummaryrefslogtreecommitdiff
path: root/template/go/base-test.go
blob: d93c8b4adbcb58aa4361f243c067fb52cf10e512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package {{_expr_:substitute('{{_name_}}', '_test', '', '')}}

import (
	"testing"
)

func TestSimple(t *testing.T) {
	got := 1
	want := 2
	if got != want {
		t.Fatalf("want %v, but %v:", want, got)
	}
}
{{_filter_:test}}