summaryrefslogtreecommitdiff
path: root/test/ruby/test_parse.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_parse.rb')
-rw-r--r--test/ruby/test_parse.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_parse.rb b/test/ruby/test_parse.rb
index 6121205857..acaeedcc2d 100644
--- a/test/ruby/test_parse.rb
+++ b/test/ruby/test_parse.rb
@@ -1071,6 +1071,7 @@ x = __ENCODING__
'(%w();/(?<a>.*)/)',
'(1; (2; 3; (4; /(?<a>.*)/)))',
'(1+1; /(?<a>.*)/)',
+ '/#{""}(?<a>.*)/',
) do |code, pass|
token = Random.bytes(4).unpack1("H*")
if pass