Commit Graph

12 Commits

Author SHA1 Message Date
André Bargull d59e30c95e Remove execute bit from files (#976) 2017-04-13 16:24:07 -04:00
Leo Balter 9478a43ea7 Fix Date coercion tests (#906)
Fixes #767
2017-03-20 13:15:06 -04:00
Rick Waldron 8178b763dc Add Date.UTC(+/-Infinity) single arg test variants to infinity-make-day.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-01-19 12:00:10 -05:00
Rick Waldron 1163e1a6ff Moves Date.UTC() test to no-args.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-01-19 11:58:26 -05:00
Rick Waldron 9a308a967b Adds missing Date.UTC(NaN) variant, per review request.
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-01-19 11:55:54 -05:00
Juan Dopazo b77714514e Add tests for non-optional arguments of Date.UTC() 2016-09-29 13:59:23 -07:00
Mike Pennisi 8918e860cc Add tests for Date.UTC 2016-07-09 12:15:17 -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
Mike Pennisi 92890e6723 Remove `$FAIL` function
This function is equivalent to `$ERROR` (which is automatically included
in test environments). Remove the harness file that defines the
function, remove references to the file from test `includes` lists, and
update scripts to instead invoke the `$ERROR` function.
2015-06-09 19:44:25 -04:00
André Bargull 56036e4064 Enable strict mode for more built-in tests
- Remove no longer needed noStrict flags.
- Change tests to use propertyHelper.js for strict mode compatibility.
- Add tests for return value of `delete` operator, e.g. `delete Array.prototype === false`.
- Add non-writable tests for global NaN property.
- Split some tests to run in strict mode.
- Change tests with global `var length` declaration to use a different variable name for browser environments.
- Merge duplicated tests symbol-data-property-configurable-non-strict and symbol-data-property-configurable-strict.
- Merge duplicated tests symbol-data-property-writable-non-strict and symbol-data-property-writable-strict.
- (And a small change in propertyHelper to reduce code duplication in function call.)
2015-05-18 18:01:00 +02:00
André Bargull 07fa78d677 Fix strict mode errors in built-ins/Date
Add missing "var" declarations and noStrict flags.

Part of issue #35.
2015-04-29 17:37:58 +02:00
Brian Terlson 2a74f0ec1b Reorganize ./test 2014-12-07 15:33:09 -08:00