Fix toFixed test to invoke toString() properly

This commit is contained in:
Daniel Ehrenberg 2017-04-06 23:52:22 +02:00 committed by Leo Balter
parent 7e87c73912
commit 73c2d51734
No known key found for this signature in database
GPG Key ID: 2C75F319D398E36B

View File

@ -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");