You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-15 22:50:24 +02:00
consolidate mor tests
This commit is contained in:
10
value_tests/array_test.go
Normal file
10
value_tests/array_test.go
Normal file
@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
func init() {
|
||||
two := float64(2)
|
||||
marshalCases = append(marshalCases,
|
||||
[1]*float64{nil},
|
||||
[1]*float64{&two},
|
||||
[2]*float64{},
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user