From 5c653a12e7f76ce026c8953cba6753200dc3c6c3 Mon Sep 17 00:00:00 2001 From: Ian Coleman Date: Thu, 17 Nov 2016 11:34:09 +1100 Subject: Duplicate card detection is case insensitive --- tests.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'tests.js') 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) { words: 54, strength: "extremely strong", }, + // Case insensitivity to duplicate cards + { + entropy: "asAS", + type: "card (1 duplicate: AS)", + events: 2, + bits: 12, + words: 0, + strength: "extremely weak", + }, + { + entropy: "ASas", + type: "card (1 duplicate: as)", + events: 2, + bits: 12, + words: 0, + strength: "extremely weak", + }, ]; // use entropy page.evaluate(function() { -- cgit v1.2.3