summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorJeremy Evans <[email protected]>2023-03-24 11:53:53 -0700
committerJeremy Evans <[email protected]>2023-04-23 19:27:58 -0700
commita8ba1ddd78544b4bda749051d44f7b2a8a0ec5ff ()
treefa7d0c86004486f857ecc04d3830ae1e1713c1bc /test/ruby
parentec211ad54d5ab8fef5031b8938028acaa1c5002a (diff)
Use UTF-8 encoding for literal extended regexps with UTF-8 characters in comments
Fixes [Bug #19455]
Notes: Merged: https://.com/ruby/ruby/pull/7592
-rw-r--r--test/ruby/test_regexp.rb7
1 files changed, 7 insertions, 0 deletions
@@ -187,6 +187,13 @@ class TestRegexp < Test::Unit::TestCase
RUBY
end
def test_union
assert_equal :ok, begin
Regexp.union(