aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--template/go/base-test-bench.go2
-rw-r--r--template/go/base-test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/template/go/base-test-bench.go b/template/go/base-test-bench.go
index 0960dc8..cd8e928 100644
--- a/template/go/base-test-bench.go
+++ b/template/go/base-test-bench.go
@@ -1,4 +1,4 @@
-package {{_expr_:substitute('{{_name_}}', '_test', '', '')}}
+package {{_name_:main_test}}
import (
"testing"
diff --git a/template/go/base-test.go b/template/go/base-test.go
index d93c8b4..4bdf104 100644
--- a/template/go/base-test.go
+++ b/template/go/base-test.go
@@ -1,4 +1,4 @@
-package {{_expr_:substitute('{{_name_}}', '_test', '', '')}}
+package {{_name_:main_test}}
import (
"testing"