diff options
author | eileencodes <eileencodes@gmail.com> | 2023-09-19 15:25:13 -0400 |
---|---|---|
committer | Kevin Newton <kddnewton@gmail.com> | 2023-09-27 11:25:53 -0400 |
commit | 2bc243b3dcd10d6de3efd80c3e91413d83b476fe (patch) | |
tree | b8d79c3654c77e9d3e152a5058932eb67c9c64f1 /test/yarp | |
parent | 2000cf918358460f9d7da86fb253318fcdbe8e57 (diff) | |
download | ruby-2bc243b3dcd10d6de3efd80c3e91413d83b476fe.tar.gz |
[YARP] Implement regex flags
This fixes the TODO in the code that was passing 0 instead of the regex
flags.
Diffstat (limited to 'test/yarp')
-rw-r--r-- | test/yarp/compiler_test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/yarp/compiler_test.rb b/test/yarp/compiler_test.rb index 9af208f625..876e952640 100644 --- a/test/yarp/compiler_test.rb +++ b/test/yarp/compiler_test.rb @@ -252,6 +252,13 @@ module YARP def test_RegularExpressionNode test_yarp_eval('/yct/') + test_yarp_eval('/yct/i') + test_yarp_eval('/yct/x') + test_yarp_eval('/yct/m') + test_yarp_eval('/yct/im') + test_yarp_eval('/yct/mx') + test_yarp_eval('/yct/xi') + test_yarp_eval('/yct/ixm') end def test_StringConcatNode |