From 290799bbeeba86245a355894b6ff2bb33d946d9e Mon Sep 17 00:00:00 2001 From: Lars T Hansen <lhansen@mozilla.com> Date: Thu, 7 Sep 2017 11:09:43 +0200 Subject: [PATCH] Remove some spurious code --- test/built-ins/Atomics/wait/did-timeout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/built-ins/Atomics/wait/did-timeout.js b/test/built-ins/Atomics/wait/did-timeout.js index 479e51ac77..c4e75dd963 100644 --- a/test/built-ins/Atomics/wait/did-timeout.js +++ b/test/built-ins/Atomics/wait/did-timeout.js @@ -24,7 +24,7 @@ var ia = new Int32Array(new SharedArrayBuffer(Int32Array.BYTES_PER_ELEMENT)); $262.agent.broadcast(ia.buffer); assert.sameValue(getReport(), "timed-out"); -assert.sameValue(Math.abs((getReport()|0) >= 500 - $ATOMICS_MAX_TIME_EPSILON, true); +assert.sameValue((getReport()|0) >= 500 - $ATOMICS_MAX_TIME_EPSILON, true); function getReport() { var r; -- GitLab