-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
Added unit tests for boa_ast::Punctuator
#2884
Conversation
Test262 conformance changes
|
Codecov Report
@@ Coverage Diff @@
## main #2884 +/- ##
==========================================
+ Coverage 51.24% 51.59% +0.35%
==========================================
Files 427 427
Lines 42522 42625 +103
==========================================
+ Hits 21790 21993 +203
+ Misses 20732 20632 -100
|
@@ -177,6 +177,7 @@ impl Punctuator { | |||
Self::Mul => Some(BinaryOp::Arithmetic(ArithmeticOp::Mul)), | |||
Self::Div => Some(BinaryOp::Arithmetic(ArithmeticOp::Div)), | |||
Self::Mod => Some(BinaryOp::Arithmetic(ArithmeticOp::Mod)), | |||
Self::Exp => Some(BinaryOp::Arithmetic(ArithmeticOp::Exp)), |
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 was somehow missing before, but it doesn't seem to fix any new test.
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.
Looks good to me!
Prefix removed :) |
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.
LGTM!
This is a follow up of #2883, which adds more tests for
boa_ast::Punctuator
.