mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-07 22:47:29 +00:00
test(common/lmlayer): correct expected output of placeholder word breaker
This commit is contained in:
parent
af343138cf
commit
6af00a3358
1 changed files with 1 additions and 1 deletions
|
|
@ -6,6 +6,6 @@ describe('The placeholder word breaker', function () {
|
|||
it('should break simple English sentences', function () {
|
||||
let breaks = breakWords('Look! -- The quick brown fox jumps... over the lazy dog!');
|
||||
let words = breaks.map(span => span.text);
|
||||
assert.deepEqual(words, ['Look', 'The', 'quick', 'brown', 'fox', 'jumps', 'over', 'the', 'lazy', 'dog']);
|
||||
assert.deepEqual(words, ['Look!', '--', 'The', 'quick', 'brown', 'fox', 'jumps...', 'over', 'the', 'lazy', 'dog!']);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue