You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-15 22:50:24 +02:00
Formated, doced. Also fixed few minor bugs.
This commit is contained in:
@ -6,7 +6,7 @@ import (
|
||||
|
||||
func Test_null(t *testing.T) {
|
||||
iter := ParseString(`null`)
|
||||
if iter.ReadNull() != true {
|
||||
if iter.ReadNil() != true {
|
||||
t.FailNow()
|
||||
}
|
||||
}
|
||||
@ -55,4 +55,4 @@ func Test_null_skip(t *testing.T) {
|
||||
if iter.ReadString() != "a" {
|
||||
t.FailNow()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user