1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert "Fixed typo"

This reverts commit 379a5ca539.
This "typo" is intentional to test the transposition detection by
did_you_mean.
This commit is contained in:
Nobuyoshi Nakada 2020-10-27 23:26:38 +09:00
parent 379a5ca539
commit 8e06075442
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -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