Commit Graph

189 Commits

Author SHA1 Message Date
rwaldron 717bcbaedd Transform legacy format to harness assertions: test/built-ins/R*/**/*.js 2021-09-02 11:34:06 -07:00
Rick Waldron ee3597ed57
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/RegExp (#3092) 2021-07-28 13:49:34 -07:00
Ron Buckton 0d922ddc97 Fix lint error 2021-02-25 11:03:39 -05:00
Ron Buckton 64ea2d19e6 rename no-indices-array test 2021-02-25 11:03:39 -05:00
Ron Buckton d66f270313 PR Feedback 2021-02-25 11:03:39 -05:00
Ron Buckton a567e4c819 Updates to regexp-match-indices tests based on d-flag 2021-02-25 11:03:39 -05:00
Gus Caplan 1d31345a70 fixup 2020-10-08 18:05:00 -04:00
Gus Caplan 881c9e3ba5 move __proto__ tests 2020-10-08 18:05:00 -04: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 8aacff591c Standardize built-in constructor testing 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
Alexey Shvayka 323905b70e Improve RegExp.prototype[@@replace] poisoned stdlib test 2020-09-10 16:24:23 -04:00
Alexey Shvayka 54ef2ae71d Test RegExp.prototype.toString called as top-level function 2020-09-09 14:34:20 -04:00
Alexey Shvayka 7a4b88e446 Add `null` named capture coercion test case 2020-04-23 10:48:48 -04:00
Alexey Shvayka 6de6484e21 Add functional replacement test 2020-04-23 10:48:48 -04:00
Alexey Shvayka a6f3449cd8 Add string replacement test 2020-04-23 10:48:48 -04:00
Alexey Shvayka eca34edd7e Drop "the" and align license headers 2020-04-23 10:48:16 -04:00
Alexey Shvayka 3b5845afe7 Add invalid non-Unicode test 2020-04-23 10:48:16 -04:00
Alexey Shvayka b0995ea174 Add invalid Unicode test 2020-04-23 10:48:16 -04:00
Alexey Shvayka fd18971545 Add valid non-Unicode test 2020-04-23 10:48:16 -04:00
Alexey Shvayka 1991c24d91 Add valid Unicode test 2020-04-23 10:48:16 -04:00
Gus Caplan 1d513c3a50 Update indices-groups-object.js 2020-04-18 17:04:51 -04:00
Gus Caplan a799a4ac23 Sort out __proto__ occurances outside of annexB 2020-04-18 17:04:51 -04:00
Michaël Zasso e1fb459313 Use slice in RegExp lookBehind test
This change allows the test to be run on engines that do not implement
Annex B.
2020-04-18 13:26:52 -04:00
Alexey Shvayka 1e63ce0eae Improve String.prototype.@@replace poisoned stdlib test 2020-03-25 11:59:43 -04:00
Alexey Shvayka 9b71a7cada Fix inconsistent indentation in YAML 2020-03-25 11:59:43 -04:00
Alexey Shvayka dc21d6b0a4 Add "lastIndex" restore test 2020-03-23 14:34:16 -04:00
Alexey Shvayka fe2dfe9525 Add "lastIndex" init test 2020-03-23 14:34:16 -04:00
Alexey Shvayka b59d07937a Add note on arbitrary large integer 2020-03-23 14:30:51 -04:00
Alexey Shvayka 669250d098 RegExp: Test Quantifier with large integer 2020-03-23 14:30:51 -04:00
Alexey Shvayka 8dccb69cc0 Replace "\b" with "\u0008" 2020-03-23 14:30:17 -04:00
Alexey Shvayka 2377131fd7 Test \b escape inside CharacterClass in Unicode RegExp 2020-03-23 14:30:17 -04:00
Alexey Shvayka 2cae20333d Add functional replacer with empty result test 2020-03-23 14:29:04 -04:00
Alexey Shvayka 8e41e8b439 Add "lastIndex" length abrupt coercion test 2020-03-23 14:29:04 -04:00
Alexey Shvayka 0485b839a6 Add "lastIndex" length coercion test 2020-03-23 14:29:04 -04:00
Alexey Shvayka 807afd9120 Make "length" coercion test more precise 2020-03-23 14:29:04 -04:00
Alexey Shvayka 3f6b961428 Make "index" integer coercion test more precise 2020-03-23 14:29:04 -04:00
Alexey Shvayka 53d16acb3b Add "index" integer coercion test with functional replacer 2020-03-23 14:29:04 -04:00
Alexey Shvayka e3e0e0f629 Add named capture groups abrupt lookup tests 2020-03-23 14:29:04 -04:00
Alexey Shvayka c9e1c1c2b8 Add named capture groups abrupt coercion tests 2020-03-23 14:29:04 -04:00
Alexey Shvayka 4d3db14653 Add named capture groups coercion tests 2020-03-23 14:29:04 -04:00
Alexey Shvayka dbbe2e7cc7 Add "0" string coercion test with global RegExp 2020-03-23 14:29:04 -04:00
Alexey Shvayka 50d1419b00 Make string coercion tests more precise 2020-03-23 14:29:04 -04:00
Alexey Shvayka cf583c96d8 Add poisoned stdlib test 2020-03-23 14:29:04 -04:00
Alexey Shvayka 67e58de839 Fix typo in file name 2020-03-23 14:29:04 -04:00
Mathias Bynens 25c9e334d3
Update RegExp property escape tests per Unicode v13.0.0 (#2526)
Upstream change in test generator:
11fa92ca64

Unicode v13.0.0:
https://unicode.org/versions/Unicode13.0.0/
2020-03-11 13:53:16 -07:00
Gus Caplan a53f43e1ce
add missing newlines in tests 2019-11-10 20:18:56 -08:00
Leo Balter d49777de27 Whitespace cleanups. CRLF => LF 2019-10-08 20:44:09 -04:00
Mathias Bynens a898fe9826 Add missing `regexp-match-indices` feature tags (#2395) 2019-10-08 14:38:39 -04:00
Leo Balter e2903e2648
Merge pull request #2366 from bocoup/unnecessary-includes
Remove unnecessary "includes" directives
2019-09-27 16:46:22 -04:00