diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-10-27 23:26:38 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-10-27 23:26:38 +0900 |
commit | 8e06075442ade74a0c23afad235742c41b3ceac8 (patch) | |
tree | 12265cda813be994c0aaa3a63c66a06f15e91354 /test/did_you_mean | |
parent | 379a5ca539af0e954b1cdf63b9365ad208b9c7f3 (diff) | |
download | ruby-8e06075442ade74a0c23afad235742c41b3ceac8.tar.gz |
Revert "Fixed typo"
This reverts commit 379a5ca539af0e954b1cdf63b9365ad208b9c7f3.
This "typo" is intentional to test the transposition detection by
did_you_mean.
Diffstat (limited to 'test/did_you_mean')
-rw-r--r-- | test/did_you_mean/tree_spell/test_change_word.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/did_you_mean/tree_spell/test_change_word.rb b/test/did_you_mean/tree_spell/test_change_word.rb index f234f45b31..613e11b869 100644 --- a/test/did_you_mean/tree_spell/test_change_word.rb +++ b/test/did_you_mean/tree_spell/test_change_word.rb @@ -32,7 +32,7 @@ class ChangeWordTest < Test::Unit::TestCase 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 |