Fix a syntax error in a code comment

This commit is contained in:
L2ncE 2022-06-15 16:59:08 +08:00
parent f37ee93f13
commit 72953c7472
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() {