From 539928dbdb455d01f15d75a8738b7e871495fa03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Csaba=20Osztrogon=C3=A1c?= Date: Fri, 24 Jul 2020 12:48:31 +0200 Subject: [PATCH] Fix date-construct.js test (#4020) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed an undeterministic subtest. date-construct.js fails intermittently, because it expects that two Date() calls return the same date string. But the second one can be 1 second later. This subtest is undeterministic and already covered by test262/es2015/test/built-ins/Date/S15.9.2.1_A2.js with 1 second epsilon. JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác csaba.osztrogonac@h-lab.eu --- tests/jerry/date-construct.js | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/jerry/date-construct.js b/tests/jerry/date-construct.js index 426d66eb4..164dab23a 100644 --- a/tests/jerry/date-construct.js +++ b/tests/jerry/date-construct.js @@ -75,4 +75,3 @@ catch (e) assert (typeof Date (2015) == "string"); assert (typeof Date() != typeof (new Date ())); -assert (Date (Number.NaN) == Date ());