From acd1aa2078dbcbfc66e422435ce849cc73fbb080 Mon Sep 17 00:00:00 2001 From: go-jet Date: Mon, 31 Mar 2025 20:04:31 +0200 Subject: [PATCH] Uncomment TestNorthwindJoinEverythingJsonSonic since sonic library bug is fixed now. --- tests/postgres/northwind_test.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/postgres/northwind_test.go b/tests/postgres/northwind_test.go index 7270202..aeda946 100644 --- a/tests/postgres/northwind_test.go +++ b/tests/postgres/northwind_test.go @@ -119,12 +119,11 @@ func BenchmarkTestNorthwindJoinEverythingSonicJson(b *testing.B) { }) } -// uncomment when bug is fixed: https://github.com/bytedance/sonic/issues/774 -//func TestNorthwindJoinEverythingJsonSonic(t *testing.T) { -// useJsonUnmarshalFunc(sonic.Unmarshal, func() { -// testNorthwindJoinEverythingJson(t) -// }) -//} +func TestNorthwindJoinEverythingJsonSonic(t *testing.T) { + useJsonUnmarshalFunc(sonic.Unmarshal, func() { + testNorthwindJoinEverythingJson(t) + }) +} func testNorthwindJoinEverythingJson(t require.TestingT) {