diff options
Diffstat (limited to 'func_test.go')
-rw-r--r-- | func_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/func_test.go b/func_test.go index 6758a9b..58d7570 100644 --- a/func_test.go +++ b/func_test.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package main +package kati import ( "bytes" @@ -28,7 +28,7 @@ func BenchmarkFuncStrip(b *testing.B) { }, }, } - ev := newEvaluator(make(map[string]Var)) + ev := NewEvaluator(make(map[string]Var)) var buf bytes.Buffer b.ReportAllocs() b.ResetTimer() @@ -47,7 +47,7 @@ func BenchmarkFuncSort(b *testing.B) { }, }, } - ev := newEvaluator(make(map[string]Var)) + ev := NewEvaluator(make(map[string]Var)) var buf bytes.Buffer b.ReportAllocs() b.ResetTimer() @@ -68,7 +68,7 @@ func BenchmarkFuncPatsubst(b *testing.B) { }, }, } - ev := newEvaluator(make(map[string]Var)) + ev := NewEvaluator(make(map[string]Var)) var buf bytes.Buffer b.ReportAllocs() b.ResetTimer() |