summaryrefslogtreecommitdiff
path: root/json
diff options
context:
space:
mode:
Diffstat (limited to 'json')
-rw-r--r--json/json_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/json/json_test.go b/json/json_test.go
index f020a40..13f2e40 100644
--- a/json/json_test.go
+++ b/json/json_test.go
@@ -4,6 +4,8 @@ import (
stdlibJson "encoding/json"
"testing"
+ "os"
+
parsecJson "github.com/prataprc/goparsec/json"
"github.com/stretchr/testify/require"
"github.com/vektah/goparsify"
@@ -53,6 +55,7 @@ func BenchmarkUnmarshalParsec(b *testing.B) {
}
func BenchmarkUnmarshalParsify(b *testing.B) {
+ goparsify.EnableLogging(os.Stdout)
for i := 0; i < b.N; i++ {
_, err := Unmarshal(benchmarkString)
require.NoError(b, err)