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:
parent
89fe999a7f
commit
b45fa58f6d
1 changed files with 4 additions and 0 deletions
|
@ -111,4 +111,8 @@ class TestUTF16 < Test::Unit::TestCase
|
|||
s1 << s2
|
||||
}
|
||||
end
|
||||
|
||||
def test_regexp_union
|
||||
enccall(Regexp, :union, "aa".force_encoding("utf-16be"), "bb".force_encoding("utf-16be"))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue