From df4d837026434c3b4a2856fe77f8ce989d6caf48 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 18 Aug 2018 14:38:07 +0100 Subject: [PATCH] add todo status test --- tests/lib/get-todo-status-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/get-todo-status-test.js b/tests/lib/get-todo-status-test.js index 1eea25d0..ea07c03e 100644 --- a/tests/lib/get-todo-status-test.js +++ b/tests/lib/get-todo-status-test.js @@ -12,7 +12,7 @@ test('getTodoStatus should return a correct hash object', t => { ['- [ ] a\n- [x] a\n', { total: 2, completed: 1 }], ['+ [ ] a\n', { total: 1, completed: 0 }], ['+ [ ] a\n+ [x] a\n', { total: 2, completed: 1 }], - ['+ [ ] a\n+ [X] a\n', { total: 2, completed: 2 }], + ['+ [ ] a\n+ [X] a\n', { total: 2, completed: 1 }], ['+ [ ] a\n+ [testx] a\n', { total: 1, completed: 0 }], ['+ [ ] a\n+ [xtest] a\n', { total: 1, completed: 0 }], ['+ [ ] a\n+ foo[x]bar a\n', { total: 1, completed: 0 }],