aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_string.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb
index 537af2fded..2ff8458d9b 100644
--- a/test/ruby/test_string.rb
+++ b/test/ruby/test_string.rb
@@ -478,6 +478,7 @@ class TestString < Test::Unit::TestCase
result << 0x0300
expected = S("\u0300".encode(Encoding::UTF_16LE))
assert_equal(expected, result, bug7090)
+ assert_raise(TypeError) { 'foo' << :foo }
end
def test_count