aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/multibyte_chars_test.rb
diff options
context:
space:
mode:
authorNorman Clarke <norman@njclarke.com>2012-01-05 10:50:25 -0300
committerNorman Clarke <norman@njclarke.com>2012-01-05 10:50:25 -0300
commit963c36004cfbe6c041460bab9c05718fc3bd7b58 (patch)
treed0e91f1745f022351ec6b8592672af4d1f06c677 /activesupport/test/multibyte_chars_test.rb
parentf306f9a1702a8799c78620ec954cc7c2e943c93b (diff)
downloadrails-963c36004cfbe6c041460bab9c05718fc3bd7b58.tar.gz
rails-963c36004cfbe6c041460bab9c05718fc3bd7b58.tar.bz2
rails-963c36004cfbe6c041460bab9c05718fc3bd7b58.zip
Fix incorrect behavior specified in test.
This test was actually specifying the opposite of what it should.
Diffstat (limited to 'activesupport/test/multibyte_chars_test.rb')
-rw-r--r--activesupport/test/multibyte_chars_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/multibyte_chars_test.rb b/activesupport/test/multibyte_chars_test.rb
index 20e56e2c81..006e5c5927 100644
--- a/activesupport/test/multibyte_chars_test.rb
+++ b/activesupport/test/multibyte_chars_test.rb
@@ -419,7 +419,7 @@ class MultibyteCharsUTF8BehaviourTest < Test::Unit::TestCase
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