Kevin Gibbons
961480ac61
remove some auto-generated error messages in "assert.throws" tests
2024-03-25 12:09:10 +01:00
Kevin Gibbons
5424d7e834
rewrite tests to use verifyProperty
2024-03-25 12:05:06 +01:00
Rick Waldron
69262f6743
Transform legacy format to harness assertions: test/built-ins/M*/**/*.js ( #3150 )
2021-08-11 12:20:01 -07:00
Rick Waldron
e4c53bef51
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Math ( #3088 )
2021-07-21 12:10:32 -07:00
Vlad
c1959a44a6
Math.max/min - each element coerced
2020-12-10 09:19:02 -05:00
Rick Waldron
d576baf73f
Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests.
2020-10-06 12:01:34 -04:00
Rick Waldron
c644ede430
Built-in function objects that are not identified as constructors must throw a TypeError exception when new'ed. Fixes gh-1739
2020-10-06 12:01:34 -04:00
Leo Balter
ff9763729d
Remove duplicated es[56]id if esid is present
2019-08-05 10:54:37 -04:00
Rick Waldron
0bf08dff3d
built-ins/Math/*: make all indentation consistent (depth & character) ( #1435 )
2018-02-15 17:35:45 -05:00
André Bargull
f95b56ab28
Revert "js-beautify: make all indentation consistent (depth & character) ( #1409 )" ( #1412 )
...
This reverts commit a01de4a722
.
2018-02-09 12:09:47 -05:00
Rick Waldron
a01de4a722
js-beautify: make all indentation consistent (depth & character) ( #1409 )
2018-02-09 11:35:37 -05:00
Rick Waldron
92a2621901
Frontmatter: fixup "info: >" to "info: |"
2018-01-05 12:27:59 -05:00
André Bargull
d59e30c95e
Remove execute bit from files ( #976 )
2017-04-13 16:24:07 -04:00
Leonardo Balter
238f4caa9a
Update length descriptor tests for Math properties
2017-03-14 10:50:01 -04:00
Leonardo Balter
f45341ca4e
Add and update descriptor tests for Math properties
2017-03-14 10:50:01 -04:00
Leo Balter
e49d2661a8
Improve assertions comparing values to NaN ( #690 )
...
The global isNaN is not precise at all, and Number.isNaN is an ES6 feature that makes it preferrable to use assert's sameValue for NaN values, as it handles it internally using the comparison.
2016-07-01 11:22:55 -07:00
Leonardo Balter
13e01e4340
Add tests for Math.{max,min} handling zeros
2016-06-27 16:04:14 -04:00
André Bargull
ca61d9b876
Add missing tests for "length" and "name" properties of built-in functions
...
Note: Already uses the updated DataView function lengths from tc39/ecma262#266 (ES2016 Draft 2015-12-20)
2016-01-15 18:12:05 +01:00
André Bargull
1b14708467
Replace runTestCase with assert helpers [test/built-ins]
2015-08-13 17:50:58 +02:00
André Bargull
a85f5039e0
Remove links to hg.ecmascript.org
2015-07-17 17:43:09 +02:00
André Bargull
76a7c8107b
Fix strict mode errors in built-ins/Math
...
Add missing "var" declarations.
Part of issue #35 .
2015-04-29 17:40:30 +02:00
Brian Terlson
2a74f0ec1b
Reorganize ./test
2014-12-07 15:33:09 -08:00