mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix incorrect behavior specified in test.
This test was actually specifying the opposite of what it should.
This commit is contained in:
parent
f306f9a170
commit
963c36004c
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ class MultibyteCharsUTF8BehaviourTest < Test::Unit::TestCase
|
||||||
def test_slice_bang_removes_the_slice_from_the_receiver
|
def test_slice_bang_removes_the_slice_from_the_receiver
|
||||||
chars = 'úüù'.mb_chars
|
chars = 'úüù'.mb_chars
|
||||||
chars.slice!(0,2)
|
chars.slice!(0,2)
|
||||||
assert_equal 'úü', chars
|
assert_equal 'ù', chars
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_slice_should_throw_exceptions_on_invalid_arguments
|
def test_slice_should_throw_exceptions_on_invalid_arguments
|
||||||
|
|
Loading…
Reference in a new issue