mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-17 11:27:39 +00:00
Merge remote-tracking branch 'origin/fix/web/sliding-tokenization-alignment' into fix/web/sliding-tokenization-alignment
This commit is contained in:
commit
307da5fef1
1 changed files with 1 additions and 1 deletions
|
|
@ -563,7 +563,7 @@ describe('ContextTokenization', function() {
|
|||
"they'd", " ", "make", " ", "for", " ", "the", " ", "best", " ", "breakf"
|
||||
];
|
||||
|
||||
// 73 chars above, vs a sliding window of length 64.
|
||||
// 74 chars above, vs a sliding window of length 64.
|
||||
assert.equal(baseContext3.reduce((accum, curr) => accum + curr.length, 0), 74);
|
||||
// Actual window + one newly-typed character
|
||||
assert.equal(incomingContext3.reduce((accum, curr) => accum + curr.length, 0), 65);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue