-
-
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?
Changes from all commits
3f11bcb
51a2a4b
5db6c5d
7cde5a3
679ec61
989bdc0
542e6ec
c5f71d3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more. In fallback.md you left out There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 As Eemeli mentioned in his review comment, I think we need to keep the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we are talking about I updated There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For In these 3 files we had tests with |
||
}, | ||
"tests": [ | ||
{ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more. ibid There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see above |
||
}, | ||
"tests": [ | ||
{ | ||
|
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.
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.
I added what I though to be the most appropriate errors for each case.
For
:test:function fails=format
thetest/README.md
is not specific enough, it only says "will emit a Message Function Error".So from all the message function errors I chose the one that I though might be the best fit, Bad Operand, and I also updated the
README.md
file with it.I did that for both
fails=format
andfails=select
.