Skip to content

Commit

Permalink
Merge pull request #282 from L2ncE/master
Browse files Browse the repository at this point in the history
Fix a syntax error in a code comment
  • Loading branch information
tidwall committed Jun 21, 2022
2 parents f37ee93 + 72953c7 commit 980f12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gjson_test.go
Expand Up @@ -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() {
Expand Down

0 comments on commit 980f12c

Please sign in to comment.