aboutsummaryrefslogtreecommitdiff
path: root/template/go/base-test.go
blob: 1fabe32abcc04f0f28c5a830c96e65b6358145c0 (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) {
	value := 1
	expected := 2
	if value != expected {
		t.Fatalf("Expected %v, but %v:", expected, value)
	}
}
{{_filter_:test}}