1
0
Fork 0
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:
Norman Clarke 2012-01-05 10:50:25 -03:00
parent f306f9a170
commit 963c36004c

View file

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