-
Notifications
You must be signed in to change notification settings - Fork 460
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
Fix and update tests #1788
Fix and update tests #1788
Conversation
… the expected NaN result is a (locale-dependent) string
This will allow implementations to test the rest of the number formatting tests, even if the extra precision support isn't implemented.
LGTM, @ljharb do you want to confirm the tests verify the intended changes in the proposal for matchAll?? |
@leobalter yes, please, that'd be great. i'm hoping to have that done by this evening; after i've stamped then feel free to merge <3 |
@@ -31,7 +30,8 @@ var o = { | |||
get [Symbol.match]() { | |||
++count; | |||
return false; | |||
} | |||
}, | |||
flags: "", |
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.
should this be get flags() { }
and increment a flagsCount
, to ensure this is looked up?
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.
this can be added as a follow up if you don't mind.
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.
certainly
d0cec12
9c704c1
String(...)
to convert symbol value to a string, because the implicit ToString conversion throws a TypeError."NaN"
.75e4fed
d51d6d3