diff options
Diffstat (limited to 'test/yarp/fuzzer_test.rb')
-rw-r--r-- | test/yarp/fuzzer_test.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/yarp/fuzzer_test.rb b/test/yarp/fuzzer_test.rb index 4d7a0af8e7..568c2eaf08 100644 --- a/test/yarp/fuzzer_test.rb +++ b/test/yarp/fuzzer_test.rb @@ -33,5 +33,16 @@ module YARP A /, ""\\ EOF + snippet "regular expression with start and end out of order", <<~RUBY + <<-A.g//, + A + /{/, ''\\ + RUBY + snippet "interpolated regular expression with start and end out of order", <<~RUBY + <<-A.g/{/, + A + a + /{/, ''\\ + RUBY end end |