Merge pull request #477 from go-jet/sonic-bug-fix

Uncomment TestNorthwindJoinEverythingJsonSonic since sonic library bug is fixed now.
This commit is contained in:
go-jet 2025-03-31 20:15:16 +02:00 committed by GitHub
commit 51c269f200
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {