forked from yaml/yaml-test-suite
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manually fix multi-document in.json files (yaml#19)
- Loading branch information
Showing
10 changed files
with
19 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
{ | ||
"a": "b" | ||
} | ||
[ | ||
"c" | ||
] | ||
{ "a": "b" } | ||
[ "c" ] | ||
"d e" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
"Document" | ||
null | ||
{ | ||
"matches %": 20 | ||
} | ||
{ "matches %": 20 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
"scalar1" | ||
{ | ||
"key": "value" | ||
} | ||
{ "key": "value" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
{ | ||
"Mapping": "Document" | ||
} | ||
{ "Mapping": "Document" } | ||
null | ||
{ | ||
"matches %": 20 | ||
} | ||
{ "matches %": 20 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
"scalar1" | ||
"scalar2" | ||
"scalar3" | ||
{ | ||
"key5": "value4" | ||
} | ||
{ | ||
"a6": 1, | ||
"b6": 2 | ||
} | ||
{ | ||
"key8": "value7" | ||
} | ||
{ | ||
"key10": "value9" | ||
} | ||
{ "key5": "value4" } | ||
{ "a6": 1, "b6": 2 } | ||
{ "key8": "value7" } | ||
{ "key10": "value9" } | ||
"value11" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,2 @@ | ||
[ | ||
"Mark McGwire", | ||
"Sammy Sosa", | ||
"Ken Griffey" | ||
] | ||
[ | ||
"Chicago Cubs", | ||
"St Louis Cardinals" | ||
] | ||
[ "Mark McGwire", "Sammy Sosa", "Ken Griffey" ] | ||
[ "Chicago Cubs", "St Louis Cardinals" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
{ | ||
"a": "b" | ||
} | ||
{ "a": "b" } | ||
null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,3 @@ | ||
{ | ||
"Time": "2001-11-23 15:01:42 -5", | ||
"User": "ed", | ||
"Warning": "This is an error message for the log file" | ||
} | ||
{ | ||
"Time": "2001-11-23 15:02:31 -5", | ||
"User": "ed", | ||
"Warning": "A slightly different error message." | ||
} | ||
{ | ||
"Date": "2001-11-23 15:03:17 -5", | ||
"User": "ed", | ||
"Fatal": "Unknown variable \"bar\"", | ||
"Stack": [ | ||
{ | ||
"file": "TopClass.py", | ||
"line": 23, | ||
"code": "x = MoreObject(\"345\\n\")\n" | ||
}, | ||
{ | ||
"file": "MoreClass.py", | ||
"line": 58, | ||
"code": "foo = bar" | ||
} | ||
] | ||
} | ||
{ "Time": "2001-11-23 15:01:42 -5", "User": "ed", "Warning": "This is an error message for the log file" } | ||
{ "Time": "2001-11-23 15:02:31 -5", "User": "ed", "Warning": "A slightly different error message." } | ||
{ "Date": "2001-11-23 15:03:17 -5", "User": "ed", "Fatal": "Unknown variable \"bar\"", "Stack": [ { "file": "TopClass.py", "line": 23, "code": "x = MoreObject(\"345\\n\")\n" }, { "file": "MoreClass.py", "line": 58, "code": "foo = bar" } ] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,2 @@ | ||
{ | ||
"time": "20:03:20", | ||
"player": "Sammy Sosa", | ||
"action": "strike (miss)" | ||
} | ||
{ | ||
"time": "20:03:47", | ||
"player": "Sammy Sosa", | ||
"action": "grand slam" | ||
} | ||
{ "time": "20:03:20", "player": "Sammy Sosa", "action": "strike (miss)" } | ||
{ "time": "20:03:47", "player": "Sammy Sosa", "action": "grand slam" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
{ | ||
"matches %": 20 | ||
} | ||
{ "matches %": 20 } | ||
null |