Skip to content

Commit

Permalink
Revert "Fixed typo"
Browse files Browse the repository at this point in the history
This reverts commit 379a5ca.
This "typo" is intentional to test the transposition detection by
did_you_mean.
  • Loading branch information
nobu committed Oct 27, 2020
1 parent 379a5ca commit 8e06075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/did_you_mean/tree_spell/test_change_word.rb
Expand Up @@ -32,7 +32,7 @@ def test_transposition
assert_match @cw.transposition(n - 1, +1), 'spec/services/anything_spce'
assert_match @cw.transposition(4, +1), 'specs/ervices/anything_spec'
assert_match @cw.transposition(4, -1), 'spe/cservices/anything_spec'
assert_match @cw.transposition(21, -1), 'spec/services/anything_spec'
assert_match @cw.transposition(21, -1), 'spec/services/anythign_spec'
assert_match @cw.transposition(21, +1), 'spec/services/anythin_gspec'
end
end

0 comments on commit 8e06075

Please sign in to comment.