From e4ec2128ae9c5c2a43cd599759f19db21fc0238f Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 28 Dec 2024 18:40:37 +0900 Subject: [Bug #20990] Reject escaped multibyte char with control/meta prefix --- test/ruby/test_literal.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/ruby') diff --git a/test/ruby/test_literal.rb b/test/ruby/test_literal.rb index 1fdc6aa853..941a4456d0 100644 --- a/test/ruby/test_literal.rb +++ b/test/ruby/test_literal.rb @@ -97,6 +97,10 @@ class TestRubyLiteral < Test::Unit::TestCase assert_equal "ab", eval("?a 'b'") assert_equal "a\nb", eval("<