diff options
author | Torben <torben.letorbi@gmail.com> | 2015-12-10 21:15:53 +0100 |
---|---|---|
committer | Torben <torben.letorbi@gmail.com> | 2015-12-10 21:15:53 +0100 |
commit | f388fd7b6fe3595f714a9f4fd51665f122b7e30c (patch) | |
tree | b40d058a27ef62970bb195b4a0fdb6dfe2e2b4dc /test/bn_test.js | |
parent | 2e828715daa64fc4ea7be8fab7d341e64618206f (diff) | |
download | sjcl-f388fd7b6fe3595f714a9f4fd51665f122b7e30c.zip sjcl-f388fd7b6fe3595f714a9f4fd51665f122b7e30c.tar.gz sjcl-f388fd7b6fe3595f714a9f4fd51665f122b7e30c.tar.bz2 |
Revert "Add leading-zero stripping option to big number toString method"
This reverts commit 2e828715daa64fc4ea7be8fab7d341e64618206f.
Diffstat (limited to 'test/bn_test.js')
-rw-r--r-- | test/bn_test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bn_test.js b/test/bn_test.js index 0f03554..a669991 100644 --- a/test/bn_test.js +++ b/test/bn_test.js @@ -72,7 +72,7 @@ new sjcl.test.TestCase("Bignum toString test", function (cb) { cb && cb(); return; } - this.require((new sjcl.bn(12312434)).power(10).toString(true) === + this.require((new sjcl.bn(12312434)).power(10).toString() === '0xb99c06973dcc72429aa1dd41b0bc40a424289a05d3d72f066ee4e71c400'); cb && cb(); }); |