Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix empty keys in tests 2JQS and PW8X #40

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/2JQS.tml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

--- in-yaml
: a
: b

--- out-yaml
: a

--- test-event
+STR
+DOC
+MAP
=VAL :
=VAL :a
=VAL :
=VAL :b
-MAP
-DOC
-STR
18 changes: 15 additions & 3 deletions test/PW8X.tml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ Test showing empty values and missing explicit components.
-
&a : a
b: &b
-
&c : &a
-
? &d
-
? &e
: &a

Expand All @@ -21,9 +23,15 @@ Test showing empty values and missing explicit components.
null,
"a",
{
"": null,
"": "a",
"b": null
},
{
"": null
},
{
"": null
},
{
"": null
}
Expand All @@ -34,9 +42,9 @@ Test showing empty values and missing explicit components.
- a
- &a : a
b: &b
&c : &a
- &c : &a
- &d :
&e : &a
- &e : &a

--- test-event
+STR
Expand All @@ -49,12 +57,16 @@ Test showing empty values and missing explicit components.
=VAL :a
=VAL :b
=VAL &b :
-MAP
+MAP
=VAL &c :
=VAL &a :
-MAP
+MAP
=VAL &d :
=VAL :
-MAP
+MAP
=VAL &e :
=VAL &a :
-MAP
Expand Down