diff options
Diffstat (limited to 'js/src/tests/test262/GIT-INFO')
-rw-r--r-- | js/src/tests/test262/GIT-INFO | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/tests/test262/GIT-INFO b/js/src/tests/test262/GIT-INFO new file mode 100644 index 0000000000..ca8813fd9b --- /dev/null +++ b/js/src/tests/test262/GIT-INFO @@ -0,0 +1,12 @@ +commit df1961f16a7cdae0bcd9d6a0004b9fda1895a9ef +Author: Yusuke Suzuki <ysuzuki@apple.com> +Date: Wed Jan 6 20:36:24 2021 -0800 + + Fix formatRangeToParts/date-same-returns-single-date.js and add tests using practically-equal two dates + + intl402/DateTimeFormat/prototype/formatRangeToParts/date-same-returns-single-date.js is using `formatRange` and `format`. + Fix this test to use `formatRangeToParts` and `formatToParts` since it is the intention of this test. + + This patch adds additional tests to intl402/DateTimeFormat/prototype/formatRangeToParts/date-same-returns-single-date.js and + intl402/DateTimeFormat/prototype/formatRange/date-same-returns-single-date.js. The new test uses two dates that are practially-equal, + and ensures the implementation uses `format` or `formatToParts` by detecting they are practically-equal. |