forked from mirror/gjson
Fix a syntax error in a code comment
This commit is contained in:
parent
f37ee93f13
commit
72953c7472
|
@ -1320,7 +1320,7 @@ func TestNumFloatString(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestDuplicateKeys(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"}`
|
var json = `{"name": "Alex","name": "Peter"}`
|
||||||
if Parse(json).Get("name").String() !=
|
if Parse(json).Get("name").String() !=
|
||||||
Parse(json).Map()["name"].String() {
|
Parse(json).Map()["name"].String() {
|
||||||
|
|
Loading…
Reference in New Issue