Merge pull request #282 from L2ncE/master

Fix a syntax error in a code comment
This commit is contained in:
Josh Baker 2022-06-21 13:49:08 -07:00 committed by GitHub
commit 980f12c60e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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() {