From 73c2d517348dd2dc3ec9f5667df71fa17a046a79 Mon Sep 17 00:00:00 2001 From: Daniel Ehrenberg <littledan@chromium.org> Date: Thu, 6 Apr 2017 23:52:22 +0200 Subject: [PATCH] Fix toFixed test to invoke toString() properly --- test/built-ins/Number/prototype/toFixed/exactness.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/built-ins/Number/prototype/toFixed/exactness.js b/test/built-ins/Number/prototype/toFixed/exactness.js index 7626c665b3..c08d5d7179 100644 --- a/test/built-ins/Number/prototype/toFixed/exactness.js +++ b/test/built-ins/Number/prototype/toFixed/exactness.js @@ -15,5 +15,5 @@ info: > ---*/ // Test from a note in the specification -assert.sameValue((1000000000000000128).toString(0), "1000000000000000100"); +assert.sameValue((1000000000000000128).toString(), "1000000000000000100"); assert.sameValue((1000000000000000128).toFixed(0), "1000000000000000128"); -- GitLab