-
Notifications
You must be signed in to change notification settings - Fork 686
Increase test coverage: Array.prototype.toString #2717
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
Conversation
| assert (e instanceof ReferenceError); | ||
| } | ||
|
|
||
| // Checking behavior when undefined is passed to the function |
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.
At this point not an undefined passed to the function. The function's this_argument is undefined.
|
I updated the patch according to the review. |
rerobika
left a comment
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 (informal)
34ab980 to
c8dd835
Compare
|
Updated the patch:
|
| } | ||
|
|
||
| /* ES 5.1 15.4.4.2 1. */ | ||
| // Checking behavior when the function's this_argument is undefined |
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.
If the related part of the standard is present, than use the following format:
/* ES v5.1, 15.4.4.2.1.
Checking behavior when the function's this_argument is undefined */
|
Changed comment style. |
Branch coverage: Before: 5/6 After: 6/6 JerryScript-DCO-1.0-Signed-off-by: Mate Dabis mdabis@inf.u-szeged.hu
|
Closing PR because of moving to another branch. |
The coverage is measured by the following script, using
--jerry-test-suite --test262 --unittests --jerry-tests:https://github.com/matedabis/jerryscript/blob/gcov_coverage_tester/tests/gcov-tests/gcovtester.py
Branch coverage:
Before: 5/6
After: 6/6
JerryScript-DCO-1.0-Signed-off-by: Mate Dabis mdabis@inf.u-szeged.hu