summaryrefslogtreecommitdiff
path: root/test/ruby/test_string.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_string.rb')
-rw-r--r--test/ruby/test_string.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb
index 36968cae3f..36a8f67442 100644
--- a/test/ruby/test_string.rb
+++ b/test/ruby/test_string.rb
@@ -1139,8 +1139,6 @@ class TestString < Test::Unit::TestCase
def test_strip
assert_equal(S("x"), S(" x ").strip)
assert_equal(S("x"), S(" \n\r\t x \t\r\n\n ").strip)
- assert_equal(S(""), S("\xa0".force_encoding("iso-8859-1")).strip)
- assert_equal(S("a"), S("a\xa0".force_encoding("iso-8859-1")).strip)
end
def test_strip!