Frank Yung-Fong Tang
b94ef8cbdc
rm deprecated grandfather 'cel-gaulish'
2019-01-30 10:08:13 -05:00
Frank Yung-Fong Tang
49c184eb0f
Rm deprecated grandfather 'cel-gaulish' from tests
2019-01-30 10:08:13 -05:00
Frank Yung-Fong Tang
dde5d8e546
Fix invalidLanguageTags array
2019-01-30 10:05:07 -05:00
Michael Ficarra
7238135940
add flat/flatMap to Array unscopables
2019-01-30 10:02:35 -05:00
Ross Kirsling
afe1b5adc7
Align copyright line with repo license.
2019-01-30 09:57:50 -05:00
Ross Kirsling
e855815840
Delete early-catch-var.js
2019-01-30 09:57:50 -05:00
Ross Kirsling
653a068481
Address feedback.
2019-01-30 09:57:50 -05:00
Ross Kirsling
815913a982
Test update for proposed Annex B.3.5 simplification
2019-01-30 09:57:50 -05:00
André Bargull
b11def3bf4
Global 'arguments' binding is not present in all runtime environments
2019-01-30 06:53:46 -08:00
André Bargull
3c81164266
Regenerate tests
2019-01-30 06:51:16 -08:00
Frank Yung-Fong Tang
9345023d5f
move more cases from valid to invalid ( #2047 )
...
This is based on UTS35 in the new spec.
2019-01-28 11:55:57 -05:00
Frank Yung-Fong Tang
9495886d18
Change expectation for x- private lang tag ( #2046 )
2019-01-28 11:55:20 -05:00
Frank Yung-Fong Tang
6da911b9f2
Fix the rounding issue ( #2027 )
2019-01-28 11:52:50 -05:00
Frank Yung-Fong Tang
e0a07bc650
Correct the expectation for format-fraction-digits-precision ( #2025 )
2019-01-28 11:42:22 -05:00
Timothy Gu
5d39cad767
Add tests for roundTiesToEven rounding in Math.fround ( #2021 )
2019-01-28 11:33:14 -05:00
Frank Yung-Fong Tang
5eab51827b
Add "numberingSystem" to resolvedOptions() ( #2011 )
2019-01-28 10:59:54 -05:00
Frank Yung-Fong Tang
b337eaf7c7
change irregular grandfather tag to it's canonical ( #2048 )
2019-01-28 10:59:07 -05:00
Rick Waldron
1068137f00
UpdateExpressions: fix descriptions ( #2051 )
2019-01-25 14:39:54 -05:00
Adrian Heine
04a41383b5
UpdateExpressions: No early error for arguments and eval in non-strict mode
...
According to sec-identifiers-static-semantics-assignmenttargettype,
`AssignmentTargetType` of `arguments` and `eval` in non-strict mode code is
`simple`.
sec-update-expressions-static-semantics-early-errors mandates early errors for
`UpdateExpression` if `AssignmentTargetType` is `invalid` or `strict`.
2019-01-25 12:39:02 -05:00
Frank Yung-Fong Tang
116c95d97c
Change test for -kn ( #1995 )
...
Add test for case of -kn-true
Verify no -kn-true nor -kn-false in the returned locale.
Change expectation per https://github.com/tc39/ecma402/pull/302
2019-01-24 12:45:49 -05:00
Frank Yung-Fong Tang
b7c9c6c78b
Remove unsupported irregular grandfathered tags. ( #2029 )
2019-01-24 12:34:03 -05:00
Frank Yung-Fong Tang
f39faeef87
Add test for 2.1 CanonicalizeLocaleList ( locales ) ( #2040 )
...
See https://tc39.github.io/proposal-intl-locale/#sec-canonicalizelocalelist
2019-01-24 12:28:25 -05:00
Frank Yung-Fong Tang
00d280d231
Remove test of extlang and 4 letter language ( #2030 )
...
This is due to the fact we now only accept Unicode Locale Identifier in
UTS 35.
2019-01-24 12:23:30 -05:00
jugglinmike
9fccd9852e
Improve coverage for UniqueFormalParameters ( #2043 )
...
Previously, the early error prohibiting duplicate entries in
UniqueFormalParameters was only tested in terms of async functions. In
one case, this was misattributed to UniqeFormalParameters and only
enforced for strict mode code.
Extend coverage to the other function-creating productions which include
UniqueFormalParameters (i.e. method definitions and non-async arrow
functions), and update the existing tests to more accurately describe
the source of the error.
2019-01-23 14:07:19 -02:00
Mathias Bynens
d7c8a12e68
Remove invalid line terminator tests ( #2044 )
...
https://github.com/tc39/test262/pull/2020#issuecomment-456581449
2019-01-23 13:56:03 -02:00
Frank Yung-Fong Tang
4f1155c566
Change tests according to ecma402/pull/278 ( #2031 )
2019-01-18 14:15:37 -02:00
Nicolò Ribaudo
f624ca52d1
Regenerate tests
2019-01-17 21:40:39 +01:00
Leo Balter
5331ca05a2
Merge pull request #2032 from nicolo-ribaudo/patch-2
...
Update rs-private-getter-alt.case
2019-01-17 17:18:14 -02:00
Frank Yung-Fong Tang
23cb23b852
Move localeMatcher before type and style ( #2010 )
...
Sync with https://github.com/tc39/proposal-intl-list-format/pull/36
2019-01-17 17:02:16 -02:00
Nicolò Ribaudo
2be05bc494
Regenerate tests
2019-01-12 00:59:46 +01:00
Nicolò Ribaudo
78a9fb81c6
Regenerate tests
2019-01-08 16:32:35 +01:00
Peter Wong
08d827565b
Increase coverage for %TypedArray%.prototype.map with species constructor ( #2019 )
2019-01-07 12:34:35 -02:00
Ross Kirsling
d0f57bff72
Ensure test file YAML blocks don't have a trailing space. ( #2018 )
2019-01-07 11:40:39 -02:00
Mike Pennisi
3468dad291
Improve coverage for line terminators
...
Previous commits restructured the tests for line terminators and made
coverage gaps more apparent. Introduce new files to improve coverage.
2019-01-01 14:01:09 -05:00
Mike Pennisi
8175f6c05e
Improve name of line terminator tests
2019-01-01 14:01:08 -05:00
Mike Pennisi
6b49b770d8
Refactor LT tests for parsers: token delimiters
...
The tests for the parsing of line terminators were expressed using eval.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.
Remove the use of eval and instead express the expectations with literal
source text. Rename the files to make each test's purpose more clear.
2019-01-01 13:48:58 -05:00
Mike Pennisi
e515abfa0e
Refactor LT tests for parsers: multi-line comment
...
The tests for the parsing of line terminators were expressed using eval.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.
Remove the use of eval and instead express the expectations with literal
source text. Rename the files to make each test's purpose more clear.
2019-01-01 13:48:58 -05:00
Mike Pennisi
0ec9dbe3b3
Refactor LT tests for parsers: single-line comment
...
The tests for the parsing of line terminators were expressed using eval.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.
Remove the use of eval and instead express the expectations with literal
source text. Rename the files to make each test's purpose more clear.
2019-01-01 13:48:57 -05:00
Mike Pennisi
f9ffa71c56
Refactor LT tests for parsers: string
...
The tests for the parsing of line terminators were expressed using eval.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.
Remove the use of eval and instead express the expectations with literal
source text.
2019-01-01 13:48:56 -05:00
Mike Pennisi
10fb23049e
Refactor LT tests for parsers: RegExp
...
The tests for the parsing of line terminators were expressed using eval.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.
Remove the use of eval and instead express the expectations with literal
source text.
2019-01-01 13:48:55 -05:00
Mike Pennisi
9f1d25c9e5
Remove duplicative tests
...
The behavior asserted by the removed tests is covered by other files.
- test/language/line-terminators/7.3-1.js duplicates
test/language/line-terminators/S7.3_A1.3.js
- test/language/line-terminators/7.3-2.js duplicates
test/language/line-terminators/S7.3_A1.4.js
- test/language/line-terminators/7.3-3.js duplicates
test/language/line-terminators/S7.3_A3.3_T1.js
- test/language/line-terminators/7.3-4.js duplicates
test/language/line-terminators/S7.3_A3.4_T1.js
- test/language/line-terminators/7.3-9.js duplicates
test/language/line-terminators/S7.3_A6_T3.js
- test/language/line-terminators/7.3-10.js duplicates
test/language/line-terminators/S7.3_A6_T4.js
- test/language/line-terminators/S7.3_A1.1_T1.js duplicates
test/language/line-terminators/S7.3_A1.1_T2.js
- test/language/line-terminators/S7.3_A1.2_T1.js duplicates
test/language/line-terminators/S7.3_A1.2_T2.js
- test/language/line-terminators/S7.3_A3.1_T2.js duplicates
test/language/line-terminators/S7.3_A3.1_T3.js
- test/language/line-terminators/S7.3_A3.2_T3.js duplicates
test/language/line-terminators/S7.3_A3.2_T1.js
- test/language/line-terminators/S7.3_A3.3_T2.js duplicates
test/language/line-terminators/S7.3_A3.3_T1.js
- test/language/line-terminators/S7.3_A3.4_T2.js duplicates
test/language/line-terminators/S7.3_A3.4_T1.js
- test/language/line-terminators/S7.3_A4_T1.js duplicates
test/language/line-terminators/S7.3_A3.1_T1.js
- test/language/line-terminators/S7.3_A5.1_T1.js duplicates
test/language/line-terminators/S7.3_A5.1_T2.js
- test/language/line-terminators/S7.3_A5.2_T1.js duplicates
test/language/line-terminators/S7.3_A5.2_T2.js
2019-01-01 13:38:43 -05:00
Mike Pennisi
23594b8179
Correct tests
...
These files were authored to test the effect of the carriage return
character, but that character was not present in the source text.
Insert the character as intended by the authors.
2019-01-01 13:38:31 -05:00
Leo Balter
f77b930e67
Move non generated files
2018-12-21 15:47:01 -05:00
Leo Balter
2907b7110a
Generate tests
2018-12-21 15:47:01 -05:00
Leo Balter
4d40dd5ade
Generate tests
2018-12-21 15:47:01 -05:00
Leo Balter
d73548b027
Generate tests
2018-12-21 15:47:01 -05:00
Leo Balter
e403eea331
Fix false positives
2018-12-21 10:50:23 -05:00
Leo Balter
7375dcb080
Remove duplicates
2018-12-21 10:50:23 -05:00
Leo Balter
258da539bc
refactor coverage for flatMap
2018-12-20 13:08:21 -05:00
Leo Balter
02af6a5552
Regenerate tests
2018-12-20 12:53:31 -05:00
Leo Balter
7a1eed0134
Generate tests
2018-12-20 12:53:31 -05:00
Leo Balter
20c38d3396
Expand tests for duplicate lexical names of vardeclarednames in the same statementlist
2018-12-20 12:53:31 -05:00
Leo Balter
3703d2bad1
Generate tests
2018-12-20 12:49:50 -05:00
Leo Balter
6986a9166d
Generate tests
2018-12-20 12:49:50 -05:00
Rick Waldron
73705f8801
UpdateExpressions: add necessary changes to tests to reflect latest specification.
2018-12-20 12:48:59 -05:00
Frank Yung-Fong Tang
dab8c8983a
remove "TypeError: Cannot convert a Symbol value to a string" ( #2009 )
2018-12-19 22:36:10 -02:00
Leo Balter
46c557247e
Fix more false positives throwing TypeError in functions
2018-12-17 16:45:56 -05:00
Peter Marshall
b3efcd2f3f
Consistently use spaces in features lists ( #2000 )
2018-12-17 17:00:04 -02:00
Frank Yung-Fong Tang
bf6b753dd7
Rename position to index ( #1994 )
...
https://github.com/tc39/proposal-intl-segmenter/pull/55
2018-12-15 05:52:31 -05:00
Leo Balter
be890421b8
Merge pull request #1985 from mkubilayk/private-method-init-order
...
test: Ensure private methods are visible from all initializers
2018-12-15 05:50:52 -05:00
⭐caitp⭐
16ef6ad10d
Get rid of the leading empty line in info block ( #1993 )
...
This makes v8's _monkeyYaml happy --- without it, the info block never ends, and we fail to parse the `features` key.
An explicit indentation marker isn't used because monkeyYaml doesn't supported it, and adding it might slightly slow things down.
Using PyYAML instead was considered, but after trying it, I don't think it looks viable. [simple test cases](https://gist.github.com/caitp/4a59a67f671907c11051a1b7bd5fdaae )
2018-12-15 05:40:37 -05:00
Peter Marshall
c41c491a8a
Remove extra spaces from features list ( #1996 )
2018-12-15 05:36:28 -05:00
Kubilay Kahveci
14c49c0e9d
Generate tests
2018-12-10 20:43:09 +00:00
Peter Wong
c36bdcfeb3
Update tests for String.prototype.matchAll ( #1990 )
...
- Changes associated with spec changes (tc39/proposal-string-matchall#41 )
- Update spec comments
- Added test verifying error thrown when `regexp[Symbol.matchAll]` is not callable
- Added test verifying `ToString` is called on `receiver`
2018-12-10 10:53:01 -05:00
Mathias Bynens
b2597d060d
Add tests for Array.prototype.sort stability ( #1977 )
...
https://github.com/tc39/ecma262/pull/1340
2018-12-06 11:56:58 -05:00
André Bargull
b62dae4fff
Fix various bugs in test cases ( #1988 )
2018-12-05 15:48:28 -05:00
Rick Waldron
3b09d0e2b5
Eliminate false positives: Intl.*
2018-11-30 11:47:57 -05:00
Rick Waldron
86deb370e7
Eliminate false positives: BigInt64Array, BigUint64Array
2018-11-30 11:37:28 -05:00
Rick Waldron
6e836cea56
Eliminate false positives: BigInt
2018-11-30 11:34:13 -05:00
Rick Waldron
d98f3f4d63
Eliminate false positives: String.prototype.trimEnd, String.prototype.trimStart
2018-11-30 09:37:16 -05:00
Rick Waldron
6d2288fe79
Eliminate false positives: Promise.prototype.finally
2018-11-30 09:34:25 -05:00
Rick Waldron
628faa5e06
Eliminate false positives: Object.fromEntries
2018-11-30 09:31:54 -05:00
Rick Waldron
2e18327af2
Eliminate false positives: Array.prototype.flat, Array.prototype.flatMap
2018-11-30 09:27:07 -05:00
Gus Caplan
1df8797a6b
add WeakSet to feature list where its used in Set tests
2018-11-28 10:26:57 -05:00
Leo Balter
92a585f04a
Assert early error for private names in method definitions
2018-11-28 10:26:13 -05:00
Leo Balter
79fd1b2c76
Generate tests
2018-11-28 10:26:13 -05:00
Leo Balter
7be4e99f80
Generate tests
2018-11-28 10:26:13 -05:00
Ms2ger
d857bd6f72
Unified Intl.NumberFormat: Add some initial tests for SetNumberFormatUnitOptions.
2018-11-28 10:25:18 -05:00
Leo Balter
9d5aa7d267
Generate tests
2018-11-26 16:39:43 -05:00
Leo Balter
94a0eaeb8a
Generate tests
2018-11-26 16:39:43 -05:00
Leo Balter
9084e6cea9
Merge pull request #1965 from jonco3/master
...
Fix a couple of minor issues in dynamic-import tests
2018-11-26 16:15:18 -05:00
Ms2ger
1185b5287d
Intl.Segmenter: Submit remaining V8 tests.
2018-11-26 15:04:19 -05:00
Gus Caplan
2aacb28bb9
Fix some proxy tests ( #1966 )
...
- `Proxy/getOwnPropertyDescriptor/call-parameters.js`
Fixes a call to `Object.getOwnPropertyDescriptor` without the prop
param. Not actually a huge problem, as the test wasn't depending on
it.
- `Proxy/getOwnPropertyDescriptor/result-type-is-not-object-nor-undefined`
This test asserted that `function() {}` should throw with the
following spec step, which is incorrect, as functions are typed as
`Object` in the spec.
"""
1. If Type(trapResultObj) is neither Object nor Undefined, throw a
TypeError exception.
"""
2018-11-26 13:41:13 -05:00
Jon Coppeard
65731d7d96
Simplify default-property-not-set-own.js test by making it not import itself
2018-11-23 11:58:46 +00:00
Jon Coppeard
a0fbe4aa9a
Fix a couple of minor issues in dynamic-import tests
2018-11-22 17:54:39 +00:00
Rick Waldron
e91645c812
Atomics: (bigint) initialize BigInt64Array before calling $262.agent.start(string-of-program-code)
2018-11-20 15:57:39 -05:00
Rick Waldron
8793bf5d57
Atomics: fix running index in notify-with-no-matching-agents-waiting.js
...
Migrating all tests to this API is necessary to prevent tests from hanging indefinitely when a SAB is sent to a worker but the code in the worker attempts to create a non-sharable TypedArray (something that is not Int32Array or BigInt64Array). When that scenario occurs, an exception is thrown and the agent worker can no longer communicate with any other threads that control the SAB. If the main thread happens to be spinning in the $262.agent.waitUntil() while loop, it will never meet its termination condition and the test will hang indefinitely.
Because we've defined $262.agent.broadcast(SAB) in https://github.com/tc39/test262/blob/master/INTERPRETING.md , there are host implementations that assume compatibility, which must be maintained.
2018-11-20 15:18:14 -05:00
Rick Waldron
e4883091b9
Introduce $262.agent.safeBroadcast and migrate Atomics tests.
...
Migrating all tests to this API is necessary to prevent tests from hanging indefinitely when a SAB is sent to a worker but the code in the worker attempts to create a non-sharable TypedArray (something that is not Int32Array or BigInt64Array). When that scenario occurs, an exception is thrown and the agent worker can no longer communicate with any other threads that control the SAB. If the main thread happens to be spinning in the $262.agent.waitUntil() while loop, it will never meet its termination condition and the test will hang indefinitely.
Because we've defined $262.agent.broadcast(SAB) in https://github.com/tc39/test262/blob/master/INTERPRETING.md , there are host implementations that assume compatibility, which must be maintained.
2018-11-20 15:17:47 -05:00
Ms2ger
ba6a483c43
Intl.Segmenter: Fix copy/paste errors in tests for valid options.
2018-11-15 10:04:28 -05:00
Leo Balter
028d76e551
Generate tests
2018-11-14 09:37:26 -05:00
Leo Balter
f7f845ce6f
Update tests with DONOTEVALUATE
2018-11-14 09:19:15 -05:00
Leo Balter
238c88d4a0
Generate tests
2018-11-13 20:21:32 -05:00
Leo Balter
10dc6ff75a
Generate tests
2018-11-13 20:21:32 -05:00
Leo Balter
50601e7aad
Generate tests
2018-11-13 20:21:32 -05:00
Leo Balter
dec4e5df74
Merge pull request #1801 from mathiasbynens/issue-1634
...
Move `throw "…"` for negative parsing errors to a helper function
2018-11-13 17:23:09 -05:00
Adrian Heine
4f085d7b8f
Fix typo (disinct -> distinct)
2018-11-10 10:50:21 +01:00
Kevin Gibbons
8ed9947df1
add async-iteration flag ( #1942 )
2018-11-08 15:32:40 -05:00
Rick Waldron
678b6b656b
Merge pull request #1934 from leobalter/private-methods-delete
...
Add cases for early error deleting private names
2018-11-08 10:15:10 -05:00
Rick Waldron
87202773fd
Merge pull request #1938 from adrianheine/promise
...
Add missing mandatory Promise.{all,race} argument
2018-11-08 09:32:25 -05:00
Rick Waldron
c4cca0b769
Merge pull request #1937 from ryzokuken/dtf-constructor-options-toobject
...
intl: increase coverage for DateTimeFormat
2018-11-08 09:25:28 -05:00
Rick Waldron
b1e15cd326
Merge pull request #1923 from bakkot/less-regex-eval
...
Reduce uses of `eval` for regex literal syntax
2018-11-08 09:18:48 -05:00
Rick Waldron
9d2ae66ac5
Merge pull request #1936 from ryzokuken/dtf-constructor-options-default
...
intl: increase coverage for DateTimeFormat
2018-11-08 09:16:51 -05:00
Adrian Heine
fc6de76a0d
Add missing mandatory Promise.{all,race} argument
2018-11-08 09:37:56 +01:00
Ujjwal Sharma
0fc80cffc5
intl: increase coverage for DateTimeFormat
...
Increase coverage for the Intl.DateTimeFormat constructor by adding a
test that confirms that ToObject(...) is appropriately called inside the
implementation.
2018-11-08 11:55:52 +05:30
Ujjwal Sharma
46515dcb19
intl: increase coverage for DateTimeFormat
...
Increase coverage for the Intl.DateTimeFormat constructor by adding a
test that checks for the default values.
2018-11-08 11:37:02 +05:30
Leo Balter
ab540afaa1
Generate tests
2018-11-07 18:14:37 -05:00
Adrian Heine né Lang
0475c127c4
Fix some generators feature flags ( #1933 )
2018-11-07 17:51:23 -05:00
Kevin Gibbons
0160cab518
fix missing/duplicate tests
2018-11-07 13:52:44 -08:00
Adrian Heine né Lang
19fa24ee91
Remove wrong feature tag ( #1932 )
2018-11-07 16:05:20 -05:00
Adrian Heine né Lang
25da344185
Add missing new.target feature flags ( #1929 )
2018-11-07 10:13:49 -05:00
Mike Pennisi
41110ab0d4
Correct tests for line terminators within comments
...
Four tests were documented as asserting the interpretation of line
terminators within multi-line comments, but the source code did not
actually demonstrate this condition.
Introduce new tests that demonstrate the intended functionality and
place them in the correct directory.
2018-11-07 10:12:59 -05:00
Mathias Bynens
e558b29b69
Optimize character class escape tests
...
Previously, these tests simply compared against an equivalent regular expression pattern by generating a large string containing either all code points up to U+FFFF or U+10FFFF, depending on the `u` flag, and then performing:
str.replace(re, '') === str.replace(otherRe, '');
These two `String#replace` calls can be optimized into a single `RegExp#test` call by following the pattern used in the property escapes tests at https://github.com/mathiasbynens/unicode-property-escapes-tests .
2018-11-06 16:14:14 -08:00
Mathias Bynens
01550ab13a
Sync with https://github.com/bocoup/test262-regexp-generator/pull/1
2018-11-06 15:24:07 -08:00
Kevin Gibbons
2be73ca5ea
Add missing `./` to relative path in dynamic import ( #1925 )
2018-11-06 15:38:18 -05:00
Leo Balter
053aed901a
Regenerate tests
2018-11-06 10:35:22 -05:00
Katie Broida
f11d0ab3d5
Fix class syntax
2018-11-06 10:35:22 -05:00
Katie Broida
9ccf0a822f
Generate tests
2018-11-06 10:35:22 -05:00
Kevin Gibbons
e80d8a184a
split unicode-property-names.js
2018-11-05 15:34:03 -08:00
Kevin Gibbons
9bc9116656
split unicode-malformed.js
2018-11-05 15:23:03 -08:00
Kevin Gibbons
296f47a008
split non-unicode-property-names.js
2018-11-05 15:12:23 -08:00
Kevin Gibbons
de339e98d6
split non-unicode-malformed.js
2018-11-05 14:58:03 -08:00
Leo Balter
69c1efd325
Generate tests
2018-11-05 12:17:14 -05:00
Leo Balter
ecb5fcbe33
Merge pull request #1840 from jugglinmike/refactor-for-parsers-var
...
Refactor variable declaration tests for parsers
2018-11-05 10:12:24 -05:00
Frank Tang
72f1cfa2ab
In en/ko/fr 'loose' may break more than normal in new CLDR version
2018-11-02 14:42:37 -04:00
Richard Gibson
5b3d429e28
Move cross-realm tests into their own files
2018-11-02 14:39:23 -04:00
Richard Gibson
6da621f161
Assert error when invoking any %RegExpPrototype%-aware getter on cross-realm RegExp.prototype
2018-11-02 14:39:23 -04:00
Richard Gibson
9e0410814a
Test cross-realm use of RegExp source getter in both directions
2018-11-02 14:39:23 -04:00
Richard Gibson
823af01575
Assert error when invoking RegExp source getter on cross-realm RegExp.prototype
...
RegExp.prototype is not a RegExp, and the algorithm only special-cases
(same-realm) %RegExpPrototype%.
2018-11-02 14:39:23 -04:00
Rick Waldron
314442498e
Fix Intl.Segmenter branding.js
...
Based on: 44fc8165d5/implementation-contributed/v8/intl/segmenter/segment-iterator-ownPropertyDescriptor.js
2018-10-31 12:45:34 -04:00
Frank Tang
d38e98d1f3
Fix formatToParts expectation @ RelativeTimeFormat
...
Fix wrong expectations of
Intl.RelativeTimeFormat.prototype.formatToParts
Add tests to cover "group", "decimal" and "fraction".
2018-10-31 12:38:29 -04:00
Rick Waldron
1fb8e8d22f
Merge branch 'segmenter-v8' of git://github.com/Ms2ger/test262 into Ms2ger-segmenter-v8
...
* 'segmenter-v8' of git://github.com/Ms2ger/test262:
Intl.Segmenter: Submit batch of V8 tests for the iterators.
# Conflicts:
# implementation-contributed/v8/intl/segmenter/segment-iterator-ownPropertyDescriptor.js
2018-10-31 12:35:49 -04:00
Mike Pennisi
a7deb7bcce
Add tests for `arguments` within function body
2018-10-28 16:23:38 -04:00
Rick Waldron
f1e362d558
Fix typos; generate tests ( #1907 )
2018-10-26 17:11:05 -04:00
Kubilay Kahveci
b7fb4ade5e
Generate tests
2018-10-26 15:12:43 -04:00
Leo Balter
70248aa166
Generate tests
2018-10-26 14:41:35 -04:00
Leo Balter
38be52c525
fix usage of assertFalse
...
Fixes #1904
2018-10-26 14:34:24 -04:00
Ms2ger
72ab472057
Intl.Segmenter: Submit batch of V8 tests for the iterators.
2018-10-26 12:00:39 +02:00
Leo Balter
1538a93bc1
typo
2018-10-25 13:30:18 -04:00
Leo Balter
09e608edad
Add cases for ImportCall syntax reused in CallExpressions
2018-10-25 13:30:18 -04:00
Leo Balter
ca87891961
Add case for valid import in a new covered expression
2018-10-25 13:30:18 -04:00
Leo Balter
cd9ca65787
Generate tests
2018-10-25 13:30:18 -04:00
Leo Balter
51a0bad7d4
Generate tests
2018-10-25 13:30:18 -04:00
Leo Balter
a347df3aae
Add tests for invalid expressions with import() with early ReferenceErrors
2018-10-25 13:30:18 -04:00
Leo Balter
d641be96b4
Add test for import() used from eval
2018-10-25 13:30:18 -04:00
Leo Balter
54aba308b7
import() must not allow a escape sequence
2018-10-25 13:30:18 -04:00
Ms2ger
e847c6ebb0
Intl.Collator: Add a test for search and sort in German.
...
Ref: https://github.com/tc39/ecma402/issues/256 .
2018-10-25 13:08:08 -04:00
Ms2ger
0d07ed06c0
Intl.Segmenter: Submit batch of V8 tests for segment().
2018-10-25 10:15:11 -04:00
Leo Balter
91bf2474c2
Add more cases for import.meta and new promise instances
2018-10-24 12:27:40 -04:00
Leo Balter
bcdc613df7
Add case for custom toprimitive operations
2018-10-24 12:27:40 -04:00
Leo Balter
23e9d7d58e
Add another case for indirect module binding update
...
Also cases for double failing resolutions
2018-10-24 12:27:40 -04:00
Leo Balter
aebfbdd9df
Add more edgy cases for import()
...
Also rename test/language/expressions/dynamic-import/assignment-expression/
2018-10-24 12:27:40 -04:00
Ms2ger
0dcec72e34
Intl.ListFormat: Test the order of properties in the result of resolvedOptions().
2018-10-24 12:22:08 -04:00
Ms2ger
b8b93ec421
Intl.RelativeTimeFormat: Test the order of properties in the result of resolvedOptions().
2018-10-24 12:21:25 -04:00
Rick Waldron
757491d4f8
Corrections to export * specifier paths. Fixes gh-1883 ( #1894 )
2018-10-24 12:17:56 -04:00
Ms2ger
e1be2c8f8b
Intl.Segmenter: Add some tests for the constructor.
2018-10-24 10:13:31 -04:00
Ms2ger
52dfda893d
Intl.Segmenter: Test the order of properties in the result of resolvedOptions().
2018-10-24 09:54:54 -04:00
Rick Waldron
f247a5fe09
Revert "Improve assertion handling when comparison causes failure via coercion"
...
This reverts commit c49c356744
.
2018-10-23 17:21:17 -04:00
Rick Waldron
c49c356744
Improve assertion handling when comparison causes failure via coercion
2018-10-23 17:00:47 -04:00
Ms2ger
480f11f612
Intl.Segmenter: API tests for the segment method.
2018-10-23 16:18:05 -04:00
André Bargull
c3e384c8c5
Add initial tests for import.meta ( #1888 )
...
Fixes #1342
2018-10-23 15:23:08 -04:00
Mathias Bynens
8869799c6d
Rebase, regenerate, and update tests
2018-10-23 13:51:17 +02:00
Mathias Bynens
b9daa57dcb
Rename to $DONOTEVALUATE per @leobalter's suggestion
2018-10-23 13:51:17 +02:00
Mathias Bynens
e3feffb01e
Move `throw "…"` for negative parsing errors to a helper function
...
Closes #1634 .
2018-10-23 13:51:16 +02:00
Leo Balter
3936950114
Fix test previously invalid for strict mode
2018-10-19 12:43:39 -04:00
Leo Balter
fc250a310c
fix test with unnecessary async generator
2018-10-19 12:43:39 -04:00
Leo Balter
98b3cc95f7
flag resolved import specifiers in test files
2018-10-19 12:43:39 -04:00
Leo Balter
c93b1075f5
Generate tests
2018-10-19 12:43:39 -04:00
Leo Balter
7ee8091259
Move namespace test files
2018-10-19 11:51:40 -04:00
Leo Balter
20b6a3b0a7
Move dynamic-import tests to test/language/expressions
2018-10-19 11:48:17 -04:00
Leo Balter
e620039286
Add some more cases for import()
2018-10-18 17:17:54 -04:00
Leo Balter
f1b337cf55
Generate tests
2018-10-18 17:06:26 -04:00
Leo Balter
eedbf4cf1d
Generate tests
2018-10-18 17:06:26 -04:00
Leo Balter
aefadabda7
Generate tests
2018-10-18 17:06:26 -04:00
Leo Balter
a4d102e020
Add tests for Assignment Expressions in Dynamic Imports ( #1865 )
2018-10-18 16:14:02 -04:00
André Bargull
100b3b4afe
Add missing includes for await tests ( #1874 )
2018-10-18 12:02:25 -04:00
Maya Lekova
b98c45ca5a
AsyncFunction: Add tests ensuring the new 1-tick await behaviour ( #1843 )
...
* AsyncFunction: Add tests ensuring the new 1-tick await behaviour
This commit adds 3 tests ensuring the optimized behaviour of await
(see https://github.com/tc39/ecma262/pull/1250 ) in the following cases:
- async functions
- yielding from async generator functions
- for-await-of loops
* AsyncFunction: Add tests ensuring the monkey-patched promises behaviour
This commit adds 2 more tests ensuring the optimized behaviour of await
(see tc39/ecma262#1250 ) in the following cases:
- awaiting on a native promise with monkey-patched "then"
- awaiting on a non-native promise (a "thenable" object)
* AsyncFunction: Add tests ensuring the non-native promises behaviour
This commit adds 1 more tests ensuring the optimized behaviour of await
(see tc39/ecma262#1250 ) in the following cases:
- awaiting on a non-promise, non-thenable object
It also renames the previous test for non-promise (a "thenable" object)
to distinguish from the new case.
The commit adds checks for proper await/promises interleaving in the
aforementioned cases and includes a small code clean-up.
* AsyncFunction: Refactor tests ensuring the new 1-tick await behaviour
Gather all the tests to their appropriate folder and update copyright header.
2018-10-17 16:10:09 -04:00
André Bargull
4d6e47bca9
Change RelativeTimeFormat -> ListFormat in ListFormat test
2018-10-17 13:35:58 -04:00
Ms2ger
fa16d7df3f
Intl: Add tests for table iteration order.
...
The order was defined in <https://github.com/tc39/ecma402/pull/279 >.
2018-10-17 12:59:38 -04:00
André Bargull
d3e5b818d9
Revert "remove "invalid" from invalid date of "cu" and "nu""
...
This reverts commit a1c3929c35
.
2018-10-17 07:46:46 -07:00
André Bargull
faed4fb089
Fix various test issues
2018-10-17 07:45:33 -07:00
Leo Balter
2ac5f1766e
Add tests for delete expression returning true on non reference types
2018-10-16 19:47:25 -04:00
Leo Balter
061a8ea63a
Merge pull request #1853 from leobalter/dyn-import-part3
...
Add more cases for dynamic imports
2018-10-15 14:36:01 -04:00
Ms2ger
3113b90d55
Intl.RelativeTimeFormat: Add some basic tests for CanonicalizeLocaleList.
2018-10-15 13:41:46 -04:00
Ms2ger
e1d80f75c7
Intl.ListFormat: Add some basic tests for CanonicalizeLocaleList.
2018-10-15 13:41:46 -04:00
Ms2ger
a3d91b12e5
Intl.ListFormat: Add a test for unsupported options combinations.
...
This was changed in https://github.com/tc39/proposal-intl-list-format/pull/27 .
2018-10-15 13:40:52 -04:00
Frank Tang
e5ae99c6ca
Change tests to reflect https://github.com/tc39/proposal-intl-list-format/pull/27 ( #1860 )
...
* Changes Intl.ListFormat tests reflecting spec
Reflect https://github.com/tc39/proposal-intl-list-format/pull/27
while style:"narrow" and type is not "unit".
* add cases for throws
* remove commetns which cause lint error
2018-10-15 13:40:25 -04:00
Ujjwal Sharma
9dc33cc5b4
intl: fix mistyped test for array-like objects
2018-10-15 12:54:05 -04:00
Adrian Heine
21f6a86a6d
Remove explicit sta.js includes
...
INTERPRETING.md states that sta.js has to be included unconditionally.
2018-10-15 12:45:55 -04:00
Rick Waldron
3bcb28e918
Generate tests
2018-10-15 12:43:16 -04:00
Mike Pennisi
36f5d9527f
Refactor compound assignment tests for parsers
...
The tests for the parsing of compound assignment expressions were
expressed using eval. This made the tests more complex than necessary
and also prevented the tests from providing value to ECMAScript parsers.
Remove the use of eval and instead express the expectations with
literal source text.
2018-10-15 11:55:29 -04:00
Mike Pennisi
a3a5bedee4
Add `esid` metadata
2018-10-15 11:55:29 -04:00
Mike Pennisi
6870cc4a77
Rename files
2018-10-15 11:55:29 -04:00
Ms2ger
e527498bff
Intl.Segmenter: Some initial tests. ( #1844 )
2018-10-15 11:29:25 -04:00
Ms2ger
f6dcb4fc2b
Intl.ListFormat: Add some tests for the localeMatcher constructor option. ( #1855 )
...
This was added in https://github.com/tc39/proposal-intl-list-format/pull/25 .
I don't know how to test that the option has any effect, so this just checks
that it is read and verified.
2018-10-15 11:04:34 -04:00
Leo Balter
206370b98e
missing copyright header
2018-10-12 17:58:54 -04:00
Leo Balter
81d6bb21a9
Generate tests
2018-10-12 17:27:24 -04:00
Leo Balter
103ee25959
More coverage for namespace object
2018-10-12 17:27:00 -04:00
Leo Balter
b7e0a48725
Reuse fixture
2018-10-12 15:32:38 -04:00
Leo Balter
1eb6c6a546
Generate tests
2018-10-12 14:49:54 -04:00
Leo Balter
cce2f219f0
Add tests for export * as ns from mod to dyn imports
2018-10-12 14:49:53 -04:00
Leo Balter
3968c2d831
Migrate test for ns
2018-10-11 16:57:36 -04:00
Leo Balter
019322b114
Generate tests
2018-10-11 11:09:48 -04:00
Leo Balter
ec1d7ccc6f
Rename imported to namespace
2018-10-11 11:09:48 -04:00
Leo Balter
1c119e323e
Generate tests
2018-10-11 11:09:48 -04:00
Leo Balter
dc2da1558f
Add tests for the resolved namespace obj
2018-10-11 11:09:48 -04:00
Leo Balter
070198fbad
Generate tests
2018-10-11 11:09:47 -04:00
Leo Balter
f8fda5b6d2
Remove nested-with template for usage/catch tests
...
This should be well covered in the syntax templates and opens the path for tests with module code restrictions
2018-10-11 11:09:47 -04:00
Leo Balter
b0ec060e62
Add more cases for Dynamic Imports usage
...
- Add cases for mixing module and script code
- Rename test case from return promise to thenable
- Fix script code case with valid loaded fixture
- Add a test to assert a promise return
- Add case for specifier toString rejection
- Add case for specifier toString
- Test Assignment expression abrupt completion
- Test Promise return
2018-10-11 11:09:47 -04:00
Leo Balter
eb4401ee44
Merge pull request #1832 from leobalter/dyn-import-part2
...
More test cases for dynamic import
2018-10-09 12:04:41 -04:00
Ms2ger
f61c4beaaa
Intl.RelativeTimeFormat: Fix copy/paste error in frontmatter. ( #1851 )
2018-10-09 11:30:01 -04:00
Adrian Heine né Lang
2234f0fc40
Fix syntax in test ( #1841 )
...
This was introduced in 6581e84949
.
2018-10-09 11:29:32 -04:00
Leo Balter
3450ed544e
fix linting
2018-10-08 13:32:28 -04:00
Leo Balter
874f508077
Generate tests
2018-10-08 11:41:21 -04:00
Leo Balter
9e4fc1b1c2
Generate tests
2018-10-08 11:05:09 -04:00
Mike Pennisi
aac38cb368
Normalize coverage for `var` declarations
...
Add tests to mirror similar tests which were authored previously.
2018-10-07 16:49:50 -04:00
Mike Pennisi
b819c597ab
Remove redundant test
...
This behavior is covered by another test in this directory:
`arguments-strict-single.js`. Although the syntax error happens to occur
within the body of a function expression, this distinction is not
significant enough to warrant the test's presence nor does it motivate
the introduction of many similar negative syntax tests which are
currently unavailable.
2018-10-07 16:49:49 -04:00
Mike Pennisi
6b00c8fbfe
Rename and refactor tests
...
The tests for the parsing of variable declarations were expressed using
eval. This made the tests more complex than necessary and also prevented
the tests from providing value to ECMAScript parsers.
Remove the use of eval and instead express the expectations with literal
source text.
2018-10-07 16:49:49 -04:00
Mike Pennisi
ceb79988ae
Relocate and refactor tests
...
The tests for the parsing of `for/in` loops were expressed using eval.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.
Remove the use of eval and instead express the expectations with literal
source text. Move the tests to the `for-in` directory to better reflect
the grammar production that they test.
2018-10-07 16:48:42 -04:00
Mike Pennisi
835c202b36
Remove redundant and irrelevant tests
...
Two tests placed within the "variable" directory do not include a variable
declaration. Because the behavior they assert is covered by an existing
test (test/language/arguments-object/10.5-1gs.js), they may be removed
without reducing coverage.
2018-10-07 16:43:08 -04:00
Frank Tang
0866789361
numeric should be a boolean not a string
2018-10-05 18:43:50 -07:00
Leo Balter
3589fa9d82
Generate Tests
2018-10-05 17:17:41 -04:00
Leo Balter
8e28caa214
Add more coverage to dynamic import
...
- Add cases for invalid syntax
- Add valid cases
- nested imports
- add non existent file case
- Fix cases and templates to use a full importcall expr token
- add case for call expression position
- remove unnecessary module flag from templates
- Add templates for nested with
2018-10-05 17:17:32 -04:00
Ujjwal Sharma
f8e3a8ed11
Add let before variable declaration
2018-10-05 15:32:54 -04:00
Ujjwal Sharma
ec35b59e88
intl: increase coverage for the NumberFormat constructor
...
Increase the coverage for the constructor for Intl.NumberFormat by
ensuring that HasProperty(O, Pk) is properly called.
2018-10-05 15:32:54 -04:00
Leo Balter
00cfe1628c
Merge pull request #1831 from leobalter/1829-dyn-import-fixes
...
[dynamic import] Fix async test to verify completion
2018-10-05 12:41:12 -04:00
Timothy Gu
140d922d4c
Add async-functions feature to more files ( #1830 )
2018-10-05 10:37:21 -04:00
Leo Balter
18f1225570
Generate tests
2018-10-05 10:33:48 -04:00
Leo Balter
754fe94c5d
fixup! Generate tests
2018-10-04 16:21:11 -04:00
Rick Waldron
a7ba033337
Generate tests
2018-10-04 16:21:11 -04:00
Leo Balter
d92d35605b
missing fixup
2018-10-04 16:16:35 -04:00
Leo Balter
292fd0c956
fix test in module/script modes
2018-10-04 16:16:35 -04:00
Leo Balter
7f69f1c6bf
Generate tests
2018-10-04 16:16:35 -04:00
Leo Balter
dac8fd4975
Recover Fixture files
2018-10-04 16:16:35 -04:00
Leo Balter
b13b5b9843
Regenerate tests
2018-10-04 16:16:35 -04:00
Leo Balter
724e3d7ccb
Regenerate tests
2018-10-04 16:16:35 -04:00
Leo Balter
7347b2a121
fix fixtures folders and nit picking on tests
2018-10-04 16:16:35 -04:00
Leo Balter
0a18f4068b
remove duplicates, fix fixture folder
2018-10-04 16:16:35 -04:00
Leo Balter
1846d33c29
Regenerate tests
2018-10-04 16:16:35 -04:00
Leo Balter
54689ffa69
Update checklist and other fixups
2018-10-04 16:16:35 -04:00
Leo Balter
e8305a7920
Regenerate tests
2018-10-04 16:16:35 -04:00
Leo Balter
24d1a78015
fix folders to fixtures
2018-10-04 16:16:35 -04:00
Leo Balter
bc13b8a7c1
Regenerate tests
2018-10-04 16:16:35 -04:00
Leo Balter
fdcb06e093
move catch tests to a separate folder
2018-10-04 16:16:35 -04:00
Leo Balter
6150f24d25
Regenerate tests
2018-10-04 16:16:35 -04:00
Rick Waldron
90e69a3b59
Dynamic Imports: eval export default class imports
2018-10-04 16:16:35 -04:00
Rick Waldron
a3eef3f39f
Generate tests
2018-10-04 16:16:35 -04:00
Rick Waldron
c77078809c
Dynamic Imports: initial cases, templates, non-generated tests and fixtures
2018-10-04 16:16:35 -04:00
Ujjwal Sharma
f8e0bf6751
intl: fix dicey test case
2018-10-04 14:30:22 -04:00
Leo Balter
5896ba49be
Generate tests
2018-10-04 10:32:01 -04:00
Ujjwal Sharma
ff8b10c448
intl: increase coverage for the Intl.NumberFormat constructor
...
Increase coverge for the Intl.NumberFormat constructor by testing that
Get(O, P) and ToString(arg) are properly called.
2018-10-03 17:32:33 -04:00
Leo Balter
48cf391412
Revert "Fix "undefiend" typo in unreserved-words.js ( #1816 )" ( #1819 )
...
This reverts commit 7e65999731
.
2018-10-03 17:11:05 -04:00
Andrew McCreight
7e65999731
Fix "undefiend" typo in unreserved-words.js ( #1816 )
...
I'm not an expert on this, but I'm pretty sure this is supposed to be "undefined" not "undefiend".
2018-10-03 15:14:41 -04:00
Frank Tang
a1c3929c35
remove "invalid" from invalid date of "cu" and "nu"
2018-10-03 13:22:29 -04:00
Ujjwal Sharma
041d5acd5e
Update test to actually check properties
2018-10-03 13:13:58 -04:00
Ujjwal Sharma
de416c28c3
intl: increase coverage from the NumberFormat constructor
...
Improve coverage for the Intl.NumberFormat constructor by testing that
it accepts Array-like objects and handles them properly.
2018-10-03 13:13:58 -04:00
Ujjwal Sharma
cd55e30938
Update test to actually check properties
2018-10-03 11:07:06 -04:00
Ujjwal Sharma
af0f53bb40
intl: increase coverage for the NumberFormat constructor
...
Increase coverage for the Intl.NumberFormat constructor by testing that
passing a string value to the Intl.NumberFormat constructor is
equivalent to passing an Array containing the same string value.
2018-10-03 11:07:06 -04:00
Richard Gibson
e064fcd7ce
Remove redundant JSON test
2018-10-03 11:06:32 -04:00
Richard Gibson
58e308753c
Fix grammar in JSON.stringify tests
2018-10-03 11:06:32 -04:00
Richard Gibson
d961fcc905
Add feature for well-formed-stringify tests
2018-10-03 11:06:32 -04:00
Richard Gibson
ce967f7a86
Add tests for proposal-well-formed-stringify
...
* unpaired surrogate escape sequences
2018-10-03 11:06:32 -04:00
Richard Gibson
783fc5d8bb
Remove redundant test
2018-10-03 11:06:32 -04:00
Richard Gibson
d6e83453b2
Simplify and improve control character escaping tests
2018-10-03 11:06:32 -04:00
Richard Gibson
61fdc701fa
Remove duplicate test
2018-10-03 11:06:32 -04:00
Richard Gibson
950d58a7ca
Improve test description grammar
2018-10-03 11:06:32 -04:00
Rick Waldron
6581e84949
Intl.Locale: constructor-options-*.js fixups ( #1798 )
2018-10-03 10:24:38 -04:00
Rick Waldron
0ead0130ea
Intl.NumberFormat: cannot use assert.sameValue to compare object references.
2018-10-02 15:03:52 -04:00
Ujjwal Sharma
bba2429cad
intl: increase coverage for NumberFormat constructor
...
Increase coverage for the Intl.NumberFormat constructor by adding tests
checking if appropriate default values are used.
2018-10-02 14:51:22 -04:00
Frank Tang
5de1831c48
Remove "ar-ma-u-ca-islamicc" test
2018-10-02 14:50:45 -04:00
Ujjwal Sharma
e9946587b9
Update test to include object and symbol
2018-10-02 14:49:00 -04:00
Ujjwal Sharma
bb7585bdaf
intl: increase coverage for NumberFormat constructor
...
Increase coverage for the Intl.NumberFormat class contructor by adding
tests for checking that it calls ToObject on the options argument.
2018-10-02 14:49:00 -04:00
Ujjwal Sharma
24386286f1
Update filenames and fix failures
2018-10-02 14:48:37 -04:00
Ujjwal Sharma
2ecd230b63
Update test to include object and symbol
2018-10-02 14:48:37 -04:00
Ujjwal Sharma
5fe9773f44
intl: increase coverage for NumberFormat constructor
...
Increase coverage for the Intl.NumberFormat class contructor by adding
tests for checking that it calls ToObject on the locales argument.
2018-10-02 14:48:37 -04:00
Ujjwal Sharma
5fae9deb1f
intl: rework Intl.NumberFormat.prototype.formatToParts tests
...
Rework the available tests for Intl.NumberFormat.prototype.formatToParts
to improve consistency and readability.
2018-09-27 11:03:16 -04:00
Ujjwal Sharma
41bf0ee344
intl: add assertion to test that the result for default parameter
...
Add an assertion to the test for default parameters in Intl.NumberFormat's
method formatToParts checking that both the values are equal to the correct
result.
2018-09-27 11:00:55 -04:00
Leo Balter
d544eacedf
assert calls order for Symbol.match on matchAll usage ( #1795 )
...
Fix #1794
2018-09-26 11:37:19 -04:00
Rick Waldron
37190a1deb
Intl.Locale.prototype.numeric: the feature is not optional, therefore the tests are not optional
2018-09-26 11:06:03 -04:00
Ms2ger
584b651edf
Intl.Locale: Expect boolean values from the numeric getter.
...
The spec changed in <https://github.com/tc39/proposal-intl-locale/pull/59 >.
2018-09-26 11:03:22 -04:00
Ms2ger
5b0f7e19db
Intl.Locale: Refactor the tests for the numeric option.
2018-09-26 11:02:40 -04:00
André Bargull
3a1bcae4d1
Expect leading sign when the input is negative zero
2018-09-26 10:38:35 -04:00
André Bargull
d9f67d53d1
Move the extra precision tests into separate files
...
This will allow implementations to test the rest of the number formatting tests,
even if the extra precision support isn't implemented.
2018-09-26 10:38:35 -04:00
André Bargull
4bc96880a1
Add missing explicit ToString conversion for symbol values and ensure the expected NaN result is a (locale-dependent) string
2018-09-26 10:38:35 -04:00
André Bargull
3febd4c536
Update matchAll tests to reflect latest spec proposal
2018-09-26 10:38:35 -04:00
Leo Balter
46fcbf81d1
Generate tests
2018-09-26 09:18:46 -04:00
jugglinmike
42ed4291f5
Refactor increment/decrement tests for parsers ( #1786 )
...
The tests for the parsing of postfix increment, postfix decrement,
prefix increment, and prefix decrement were expressed using `eval`.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.
Remove the use of `eval` and instead express the expectations with
literal source text.
2018-09-24 12:29:30 -04:00
Kevin Gibbons
89ec038cf2
remove some trailing commas in calls
2018-09-21 10:04:33 -04:00
Ujjwal Sharma
cdd91e2895
Improve ToNumber test for NumberFormat.format
2018-09-20 17:25:14 -04:00
Ujjwal Sharma
7a87bde265
intl: increase coverage for NumberFormat.format
...
Increase test coverage for Intl.NumberFormat.prototype.format by adding
a check for testing if it calls ToNumber (7.1.3) on its argument.
2018-09-20 17:25:14 -04:00
Ujjwal Sharma
a6412918d2
Simplify default value check of NumberFormat.format
2018-09-19 15:23:30 -04:00
Ujjwal Sharma
cbfa2c5f00
intl: increase coverage for NumberFormat
...
Increase coverage for Intl.NumberFormat by adding a test for format
checking it's default value.
2018-09-19 15:23:30 -04:00
Kevin Gibbons
92a96f068e
Remove bigint feature flag for built-ins/Atomics/wait/was-woken-before-timeout.js
2018-09-19 10:58:34 -04:00
Kevin Gibbons
05cbb5f8ae
Fix feature flag in TypedArrayConstructors/Float32Array/length.js
2018-09-19 10:58:34 -04:00
Ujjwal Sharma
94cb047ab8
Update assert failure messages
2018-09-18 14:55:11 -04:00
Ujjwal Sharma
0c89259da5
intl: refactor tests for NumberFormat
2018-09-18 14:55:11 -04:00
Kubilay Kahveci
395adc3a7c
Generate tests
2018-09-18 14:16:20 -04:00
Ujjwal Sharma
fec7982e09
Update test case description
2018-09-18 11:42:59 -04:00
Ujjwal Sharma
490f911ab6
Refactor value check for prop-desc
2018-09-18 11:42:59 -04:00
Ujjwal Sharma
24c29db550
Rename initial-value to configurable and add initial check to prop-desc
2018-09-18 11:42:59 -04:00
Ujjwal Sharma
e566c813b5
Add additional initial value tests
2018-09-18 11:42:59 -04:00