Skip to content

Commit

Permalink
Merge pull request #627 from VisLab/develop
Browse files Browse the repository at this point in the history
Updated some invalid char tests to conform with name class
  • Loading branch information
VisLab authored Sep 21, 2024
2 parents ee464de + da9ea6f commit 62dbcb0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
9 changes: 6 additions & 3 deletions tests/javascript_tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{
"event_code": {
"HED": {
"show": "Red, Label/a \u00ca\u00b0 good"
"show": "Red, Label/a-\u00ca\u00b0-good"
}
}
}
Expand Down Expand Up @@ -69,7 +69,7 @@
[
4.5,
0,
"Label/Temp, Label/a \u00ca\u00b0 good"
"Label/Temp, Label/a-\u00ca\u00b0-good"
]
]
]
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions tests/json_tests/CHARACTER_INVALID.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
{
"event_code": {
"HED": {
"show": "Red, Label/a ʰ good"
"show": "Red, Label/a-ʰ-good"
}
}
}
Expand All @@ -47,7 +47,7 @@
"passes": [
[
["onset", "duration", "HED"],
[ 4.5, 0, "Label/Temp, Label/a ʰ good"]
[ 4.5, 0, "Label/Temp, Label/a-ʰ-good"]
]
]
},
Expand Down
2 changes: 1 addition & 1 deletion tests/json_tests/TAG_EXTENSION_INVALID.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
9 changes: 6 additions & 3 deletions tests/python_tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{
"event_code": {
"HED": {
"show": "Red, Label/a \u00ca\u00b0 good"
"show": "Red, Label/a-\u00ca\u00b0-good"
}
}
}
Expand Down Expand Up @@ -69,7 +69,7 @@
[
4.5,
0,
"Label/Temp, Label/a \u00ca\u00b0 good"
"Label/Temp, Label/a-\u00ca\u00b0-good"
]
]
]
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 62dbcb0

Please sign in to comment.