yaml / yaml-test-suite

Comprehensive, language independent Test Suite for YAML
MIT License
172 stars 58 forks source link

Fix generated test in Y79Y #126

Open Ygg01 opened 11 months ago

Ygg01 commented 11 months ago

Found many errors in Y79Y test.event files.

Y79Y/004

Input:

-———»-

Expected event output:

+STR
+DOC
+SEQ
+SEQ

Found

+STR
+DOC
+SEQ

Y79Y/005

Input:

- ——»-

Expected event output:

+STR
+DOC
+SEQ

Found:

+STR
+DOC
+SEQ
+SEQ []

Y79Y/006

Input:

?——»-

Expected event output:

+STR
+DOC
+MAP

Found:

+STR
+DOC
+SEQ
+SEQ []

Y79Y/007

Input:

? -
-——»-

Expected event output:

+STR
+DOC
+MAP
+SEQ
=VAL
-SEQ

Found:

+STR
+DOC
+SEQ
+SEQ []

Y79Y/008

Input:

?——»key:

Expected event output:

+STR
+DOC
+MAP      #Unsure about where will it terminate here

Found:

+STR
+DOC
+SEQ
+SEQ []

Y79Y/009

Input:

? key:
:——»key:

Expected event output :

+STR
+DOC
+MAP
+MAP
=VAL :key
=VAL :
-MAP       #Unsure about where will it terminate here

Found:

+STR
+DOC
+SEQ
+SEQ []