Skip to content

Commit

Permalink
Add failing test for #6
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed May 9, 2017
1 parent 7dd3956 commit 130d0ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ test('ignores control characters', t => {
t.is(m(String.fromCharCode(159)), 0);
t.is(m('\u001b'), 0);
});

test.failing('handles combining characters', t => {
t.is(m('x\u0300'), 1);
});

0 comments on commit 130d0ad

Please sign in to comment.