mirror of https://github.com/tidwall/gjson.git
Merge pull request #282 from L2ncE/master
Fix a syntax error in a code comment
This commit is contained in:
commit
980f12c60e
|
@ -1320,7 +1320,7 @@ func TestNumFloatString(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestDuplicateKeys(t *testing.T) {
|
||||
// this is vaild json according to the JSON spec
|
||||
// this is valid json according to the JSON spec
|
||||
var json = `{"name": "Alex","name": "Peter"}`
|
||||
if Parse(json).Get("name").String() !=
|
||||
Parse(json).Map()["name"].String() {
|
||||
|
|
Loading…
Reference in New Issue