mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_string.rb: Add test for error when appending a
Symbol into a String. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5080a75621
commit
26e969182b
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue