1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

add a test for Regexp.union.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-01-25 03:58:32 +00:00
parent 89fe999a7f
commit b45fa58f6d

View file

@ -111,4 +111,8 @@ class TestUTF16 < Test::Unit::TestCase
s1 << s2 s1 << s2
} }
end end
def test_regexp_union
enccall(Regexp, :union, "aa".force_encoding("utf-16be"), "bb".force_encoding("utf-16be"))
end
end end