Remove redundant assert

This commit is contained in:
Frank Tang 2020-06-02 09:08:21 -07:00 committed by Rick Waldron
parent c6fd7eb602
commit ae0de0b6bb
1 changed files with 0 additions and 1 deletions

View File

@ -31,7 +31,6 @@ for (const text of [
let segments = [];
for (const v of seg.segment(text)) {
assert.sameValue("boolean", typeof v.isWordLike);
assert([true, false].includes(v.isWordLike), v.isWordLike);
assert.sameValue("string", typeof v.segment);
assert(v.segment.length > 0);
segments.push(v.segment);