Skip to content

Commit

Permalink
update tests for combined keyboard edits and capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
tvquizphd committed Jan 10, 2021
1 parent 284f6ee commit 9c49226
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,18 @@ test('NSpell()', function (t) {

st.deepEqual(
us.suggest('Ghandi'),
['Brandi', 'Ghana', 'Grandee', 'Shanxi', 'hand', 'hands', 'handy'],
[
'Brandi',
'Ghana',
'Grandee',
'Hand',
'Hands',
'Handy',
'Hanoi',
'Hindi',
'Randi',
'Shanxi'
],
'should suggest alternatives'
)

Expand Down Expand Up @@ -479,22 +490,22 @@ test('NSpell()', function (t) {
us.suggest('dont'),
[
'cont',
'font',
'dent',
'dint',
'done',
'dong',
'wont',
'font',
'dolt',
'don',
"don't",
'dona',
'dons',
'dost',
'dot',
'wont',
'Donn',
'Mont',
'ONT'
'Ont'
],
'should suggest alternatives including correct conjunction'
)
Expand Down

0 comments on commit 9c49226

Please sign in to comment.