diff options
author | Kevin Newton <[email protected]> | 2023-09-27 12:24:48 -0400 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2023-09-27 13:57:38 -0400 |
commit | 4f73a7c2f7ff16aa78cf0dec2d4c7f90a2c41c9b (patch) | |
tree | 3b6f0cedc858d46d30a28c6d03439d653884a915 /test/prism/regexp_test.rb | |
parent | 8ab56869a64fdccc094f4a83c6367fb23b72d38b (diff) |
Sync to prism rename commits
Diffstat (limited to 'test/prism/regexp_test.rb')
-rw-r--r-- | test/prism/regexp_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/prism/regexp_test.rb b/test/prism/regexp_test.rb index 865c70a2c8..67114c7bf3 100644 --- a/test/prism/regexp_test.rb +++ b/test/prism/regexp_test.rb @@ -2,9 +2,9 @@ require_relative "test_helper" -return if YARP::BACKEND == :FFI +return if Prism::BACKEND == :FFI -module YARP +module Prism class RegexpTest < TestCase ############################################################################## # These tests test the actual use case of extracting named capture groups @@ -236,7 +236,7 @@ module YARP def options(flags) options = ["/foo/#{flags}", "/foo\#{1}/#{flags}"].map do |source| - YARP.parse(source).value.statements.body.first.options + Prism.parse(source).value.statements.body.first.options end # Check that we get the same set of options from both regular expressions |