mirror of https://github.com/tc39/test262.git
fd8d520cab
Prior to this patch, the modified test invoked the `arrayContains` utility function without referencing its return value. Unlike Test262's assertion functions, `arrayContains` does not throw an error when the expectation is violated, so the prior usage did not influence test results. Additionally, the prior version of this test documented incorrect expectations regarding the expected value produced by the method under test. Due to the above, these expectations were not enforced. Correct the test's expectations and enforce those expectations with a function that will reliably produce an exception if violated. |
||
---|---|---|
.. | ||
compare | ||
from | ||
fromEpochMicroseconds | ||
fromEpochMilliseconds | ||
fromEpochNanoseconds | ||
fromEpochSeconds | ||
prototype | ||
argument.js | ||
basic.js | ||
builtin.js | ||
constructor.js | ||
length.js | ||
name.js | ||
prop-desc.js |