-
-
Notifications
You must be signed in to change notification settings - Fork 36
Make expErrors use an array (and only an array) #1076
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
base: main
Are you sure you want to change the base?
Conversation
@@ -5,7 +5,7 @@ | |||
"defaultTestProperties": { | |||
"bidiIsolation": "none", | |||
"locale": "en-US", | |||
"expErrors": false | |||
"expErrors": [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In fallback.md you left out expErrors
. Here you supply an empty array. I think we should probably omit this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aphillips It's required in this file otherwise some tests would be left without an expectation (e.g. lines 44-55). This would also be the case in time.json
.
As Eemeli mentioned in his review comment, I think we need to keep the expErrors
in fallback.md
.
@@ -5,7 +5,7 @@ | |||
"defaultTestProperties": { | |||
"bidiIsolation": "none", | |||
"locale": "en-US", | |||
"expErrors": false | |||
"expErrors": [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ibid
@@ -4,8 +4,7 @@ | |||
"description": "Test cases for fallback behaviour.", | |||
"defaultTestProperties": { | |||
"bidiIsolation": "none", | |||
"locale": "en-US", | |||
"expErrors": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was dropping this intentional? All of the messages in this file are expected to experience fallback and emit at least one error.
Fixes issue #993