From 18d8c9043f8651a94885831c799e3fda7a8b1dc0 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 6 Mar 2016 11:13:51 +0000 Subject: Fix count handling (again). `7gj` should be `1j`. Also, with: map ab SOMETHING `7aab` should be `1ab`. Replacement for 7774beb6643c0d905f9caba4345453790af948ad. --- tests/dom_tests/dom_tests.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/dom_tests/dom_tests.coffee b/tests/dom_tests/dom_tests.coffee index ba0ee9d2..0745e5b2 100644 --- a/tests/dom_tests/dom_tests.coffee +++ b/tests/dom_tests/dom_tests.coffee @@ -452,7 +452,7 @@ context "Normal mode", sendKeyboardEvent "z" sendKeyboardEvent "z" sendKeyboardEvent "p" - assert.equal 2, commandCount + assert.equal 1, commandCount should "get the correct count for mixed inputs (with leading mapped keys)", -> sendKeyboardEvent "z" -- cgit v1.2.3