test262/test/language/statements/try
Mike Pennisi 650e7add4a Improve coverage for ops involving negative zero
Prior to this commit, the modified tests used the strict equality
operator to compare computed values with negative zero. Due to the
semantics of that operator, these tests would spuriously pass if the
value under test was in fact positive zero.

Update the tests to be more precise by instead asserting equality with
the `assert.sameValue` utility method (since that method correctly
distinguishes between negative zero and positive zero).
2021-09-16 16:35:41 -04:00
..
dstr Array binding: add generated tests 2020-08-20 12:48:08 -04:00
12.14-3.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
12.14-4.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
12.14-6.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
12.14-7.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
12.14-8.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
12.14-9.js Replace runTestCase with assert helpers [test/language/statements] 2015-08-13 17:33:42 +02:00
12.14-10.js Replace runTestCase with assert helpers [test/language/statements] 2015-08-13 17:33:42 +02:00
12.14-11.js Replace runTestCase with assert helpers [test/language/statements] 2015-08-13 17:33:42 +02:00
12.14-12.js Replace runTestCase with assert helpers [test/language/statements] 2015-08-13 17:33:42 +02:00
12.14-13.js Replace runTestCase with assert, try-finally 2015-08-13 17:43:11 +02:00
12.14-14.js Reduce reliance on `fnGlobalObject.js` 2016-04-25 11:09:21 -07:00
12.14-15.js Reduce reliance on `fnGlobalObject.js` 2016-04-25 11:09:21 -07:00
12.14-16.js Reduce reliance on `fnGlobalObject.js` 2016-04-25 11:09:21 -07:00
S12.14_A1.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A2.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A3.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A4.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A5.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A6.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A7_T1.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A7_T2.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A7_T3.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A8.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A9_T1.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A9_T2.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A9_T3.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A9_T4.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A9_T5.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A10_T1.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A10_T2.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A10_T3.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A10_T4.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A10_T5.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A11_T1.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A11_T2.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A11_T3.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A11_T4.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A12_T1.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A12_T2.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A12_T3.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A12_T4.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A13_T1.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A13_T2.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A13_T3.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A14.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A15.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A16_T1.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
S12.14_A16_T2.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
S12.14_A16_T3.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
S12.14_A16_T5.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
S12.14_A16_T6.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
S12.14_A16_T7.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
S12.14_A16_T8.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
S12.14_A16_T9.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
S12.14_A16_T10.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
S12.14_A16_T11.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
S12.14_A16_T12.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
S12.14_A16_T13.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
S12.14_A16_T14.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
S12.14_A16_T15.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
S12.14_A17.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A18_T1.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A18_T2.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A18_T3.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A18_T4.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A18_T5.js Improve coverage for ops involving negative zero 2021-09-16 16:35:41 -04:00
S12.14_A18_T6.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A18_T7.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A19_T1.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
S12.14_A19_T2.js chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
catch-parameter-boundnames-restriction-arguments-eval-throws.js try/catch: catch parameter bound names clean up (#1172) 2017-08-21 11:30:09 -04:00
catch-parameter-boundnames-restriction-arguments-negative-early.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
catch-parameter-boundnames-restriction-eval-eval-throws.js try/catch: catch parameter bound names clean up (#1172) 2017-08-21 11:30:09 -04:00
catch-parameter-boundnames-restriction-eval-negative-early.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
completion-values-fn-finally-abrupt.js Update test/language/statements/try/completion-values-fn-finally-abrupt.js 2020-09-18 16:19:13 -04:00
completion-values-fn-finally-normal.js completion values of try-catch-finally 2020-09-18 16:19:13 -04:00
completion-values-fn-finally-return.js completion values of try-catch-finally 2020-09-18 16:19:13 -04:00
completion-values.js completion values of try-catch-finally 2020-09-18 16:19:13 -04:00
cptn-catch-empty-break.js Add more completion value tests for try-statements 2017-12-19 15:42:56 -05:00
cptn-catch-empty-continue.js Add more completion value tests for try-statements 2017-12-19 15:42:56 -05:00
cptn-catch-finally-empty-break.js Add more completion value tests for try-statements 2017-12-19 15:42:56 -05:00
cptn-catch-finally-empty-continue.js Add more completion value tests for try-statements 2017-12-19 15:42:56 -05:00
cptn-catch.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
cptn-finally-empty-break.js Add more completion value tests for try-statements 2017-12-19 15:42:56 -05:00
cptn-finally-empty-continue.js Add more completion value tests for try-statements 2017-12-19 15:42:56 -05:00
cptn-finally-from-catch.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
cptn-finally-skip-catch.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
cptn-finally-wo-catch.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
cptn-try.js Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
early-catch-duplicates.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
early-catch-function.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
early-catch-lex.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
optional-catch-binding-finally.js Add optional-catch-binding tests (#1167) 2017-08-18 17:19:48 -04:00
optional-catch-binding-lexical.js Add optional-catch-binding tests (#1167) 2017-08-18 17:19:48 -04:00
optional-catch-binding-parens.js Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
optional-catch-binding-throws.js Add optional-catch-binding tests (#1167) 2017-08-18 17:19:48 -04:00
optional-catch-binding.js Add optional-catch-binding tests (#1167) 2017-08-18 17:19:48 -04:00
scope-catch-block-lex-close.js Add tests for Lexical Environment management 2016-04-28 09:44:41 -04:00
scope-catch-block-lex-open.js Add tests for Lexical Environment management 2016-04-28 09:44:41 -04:00
scope-catch-block-var-none.js Fix typos; generate tests (#1907) 2018-10-26 17:11:05 -04:00
scope-catch-param-lex-close.js Add tests for Lexical Environment management 2016-04-28 09:44:41 -04:00
scope-catch-param-lex-open.js Add tests for Lexical Environment management 2016-04-28 09:44:41 -04:00
scope-catch-param-var-none.js Fix typos; generate tests (#1907) 2018-10-26 17:11:05 -04:00
static-init-await-binding-invalid.js Add tests for "Class Static Init. Blocks" proposal (#2968) 2021-07-15 08:49:12 -04:00
static-init-await-binding-valid.js Add tests for "Class Static Init. Blocks" proposal (#2968) 2021-07-15 08:49:12 -04:00
tco-catch-finally.js Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00
tco-catch.js Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00
tco-finally.js Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00