diff --git a/varfmt/fmt_test.go b/varfmt/fmt_test.go index fb137be..be1f324 100644 --- a/varfmt/fmt_test.go +++ b/varfmt/fmt_test.go @@ -1,6 +1,7 @@ package varfmt import ( + "fmt" "strings" "testing" @@ -106,7 +107,7 @@ func BenchmarkSprintf(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { - _ = Sprintf(tc.format, tc.args...) + _ = fmt.Sprintf(tc.format, tc.args...) } }) }