From fe8f1869f36600d38e8eb451e7b88300f6ef7497 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Sun, 26 Jan 2020 01:20:44 +0900 Subject: Fix default name --- template/go/base-test-bench.go | 2 +- template/go/base-test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'template') 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" -- cgit v1.2.3-54-g00ecf