diff --git a/tests/javascript_tests.json b/tests/javascript_tests.json index a2401b6..c95ccc2 100644 --- a/tests/javascript_tests.json +++ b/tests/javascript_tests.json @@ -38,7 +38,7 @@ { "event_code": { "HED": { - "show": "Red, Label/a \u00ca\u00b0 good" + "show": "Red, Label/a-\u00ca\u00b0-good" } } } @@ -69,7 +69,7 @@ [ 4.5, 0, - "Label/Temp, Label/a \u00ca\u00b0 good" + "Label/Temp, Label/a-\u00ca\u00b0-good" ] ] ] @@ -6216,7 +6216,10 @@ }, { "error_code": "TAG_EXTENSION_INVALID", - "alt_codes": [], + "alt_codes": [ + "CHARACTER_INVALID", + "PLACEHOLDER_INVALID" + ], "name": "tag-extension-invalid-bad-node-name", "description": "A tag extension term does not comply with rules for schema nodes.", "warning": false, diff --git a/tests/json_tests/CHARACTER_INVALID.json b/tests/json_tests/CHARACTER_INVALID.json index 0ce2c58..6a2449f 100644 --- a/tests/json_tests/CHARACTER_INVALID.json +++ b/tests/json_tests/CHARACTER_INVALID.json @@ -31,7 +31,7 @@ { "event_code": { "HED": { - "show": "Red, Label/a ʰ good" + "show": "Red, Label/a-ʰ-good" } } } @@ -47,7 +47,7 @@ "passes": [ [ ["onset", "duration", "HED"], - [ 4.5, 0, "Label/Temp, Label/a ʰ good"] + [ 4.5, 0, "Label/Temp, Label/a-ʰ-good"] ] ] }, diff --git a/tests/json_tests/TAG_EXTENSION_INVALID.json b/tests/json_tests/TAG_EXTENSION_INVALID.json index 047e190..78491da 100644 --- a/tests/json_tests/TAG_EXTENSION_INVALID.json +++ b/tests/json_tests/TAG_EXTENSION_INVALID.json @@ -98,7 +98,7 @@ }, { "error_code": "TAG_EXTENSION_INVALID", - "alt_codes": [], + "alt_codes": ["CHARACTER_INVALID", "PLACEHOLDER_INVALID"], "name": "tag-extension-invalid-bad-node-name", "description": "A tag extension term does not comply with rules for schema nodes.", "warning": false, diff --git a/tests/python_tests.json b/tests/python_tests.json index 8e67ecd..ac9125f 100644 --- a/tests/python_tests.json +++ b/tests/python_tests.json @@ -38,7 +38,7 @@ { "event_code": { "HED": { - "show": "Red, Label/a \u00ca\u00b0 good" + "show": "Red, Label/a-\u00ca\u00b0-good" } } } @@ -69,7 +69,7 @@ [ 4.5, 0, - "Label/Temp, Label/a \u00ca\u00b0 good" + "Label/Temp, Label/a-\u00ca\u00b0-good" ] ] ] @@ -9058,7 +9058,10 @@ }, { "error_code": "TAG_EXTENSION_INVALID", - "alt_codes": [], + "alt_codes": [ + "CHARACTER_INVALID", + "PLACEHOLDER_INVALID" + ], "name": "tag-extension-invalid-bad-node-name", "description": "A tag extension term does not comply with rules for schema nodes.", "warning": false,