Skip to content

Commit

Permalink
Fix incorrect behavior specified in test.
Browse files Browse the repository at this point in the history
This test was actually specifying the opposite of what it should.
  • Loading branch information
norman committed Jan 5, 2012
1 parent f306f9a commit 963c360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/test/multibyte_chars_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def test_slice_bang_returns_sliced_out_substring
def test_slice_bang_removes_the_slice_from_the_receiver
chars = 'úüù'.mb_chars
chars.slice!(0,2)
assert_equal 'úü', chars
assert_equal 'ù', chars
end

def test_slice_should_throw_exceptions_on_invalid_arguments
Expand Down

0 comments on commit 963c360

Please sign in to comment.