aboutsummaryrefslogtreecommitdiff
path: root/tests.js
diff options
context:
space:
mode:
authorIan Coleman <coleman.ian@gmail.com>2016-11-17 11:34:09 +1100
committerIan Coleman <coleman.ian@gmail.com>2016-11-17 11:34:09 +1100
commit5c653a12e7f76ce026c8953cba6753200dc3c6c3 (patch)
treec4b2066c2c5bc772fd7d9d03a58480daca079b38 /tests.js
parent95f04905c13775e00c8dc13f884a17a4e69aaf29 (diff)
downloadBIP39-5c653a12e7f76ce026c8953cba6753200dc3c6c3.tar.gz
BIP39-5c653a12e7f76ce026c8953cba6753200dc3c6c3.tar.zst
BIP39-5c653a12e7f76ce026c8953cba6753200dc3c6c3.zip
Duplicate card detection is case insensitive
Diffstat (limited to 'tests.js')
-rw-r--r--tests.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests.js b/tests.js
index c3d7418..a0de5fe 100644
--- a/tests.js
+++ b/tests.js
@@ -2673,6 +2673,23 @@ page.open(url, function(status) {
2673 words: 54, 2673 words: 54,
2674 strength: "extremely strong", 2674 strength: "extremely strong",
2675 }, 2675 },
2676 // Case insensitivity to duplicate cards
2677 {
2678 entropy: "asAS",
2679 type: "card (1 duplicate: AS)",
2680 events: 2,
2681 bits: 12,
2682 words: 0,
2683 strength: "extremely weak",
2684 },
2685 {
2686 entropy: "ASas",
2687 type: "card (1 duplicate: as)",
2688 events: 2,
2689 bits: 12,
2690 words: 0,
2691 strength: "extremely weak",
2692 },
2676 ]; 2693 ];
2677 // use entropy 2694 // use entropy
2678 page.evaluate(function() { 2695 page.evaluate(function() {