test(common/lmlayer): correct expected output of placeholder word breaker

This commit is contained in:
Eddie Antonio Santos 2020-05-19 15:03:43 -06:00
parent af343138cf
commit 6af00a3358
No known key found for this signature in database
GPG key ID: DD411EA4D9509D87

View file

@ -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!']);
});
});