diff options
Diffstat (limited to 'tests.js')
-rw-r--r-- | tests.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2072,7 +2072,7 @@ page.open(url, function(status) { | |||
2072 | // dice entropy is converted to base6 | 2072 | // dice entropy is converted to base6 |
2073 | try { | 2073 | try { |
2074 | e = Entropy.fromString("123456"); | 2074 | e = Entropy.fromString("123456"); |
2075 | if (e.cleanStr != "012345") { | 2075 | if (e.cleanStr != "123450") { |
2076 | return "Dice entropy is not automatically converted to base6"; | 2076 | return "Dice entropy is not automatically converted to base6"; |
2077 | } | 2077 | } |
2078 | } | 2078 | } |
@@ -2444,7 +2444,7 @@ page.open(url, function(status) { | |||
2444 | var entropyText = page.evaluate(function() { | 2444 | var entropyText = page.evaluate(function() { |
2445 | return $(".entropy-container").text(); | 2445 | return $(".entropy-container").text(); |
2446 | }); | 2446 | }); |
2447 | if (entropyText.indexOf("012345") == -1) { | 2447 | if (entropyText.indexOf("123450") == -1) { |
2448 | console.log("Dice entropy is not shown to user as base 6 value"); | 2448 | console.log("Dice entropy is not shown to user as base 6 value"); |
2449 | fail(); | 2449 | fail(); |
2450 | } | 2450 | } |