diff options
author | Kevin Menard <kevin@nirvdrum.com> | 2024-02-08 16:27:59 -0500 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2024-03-08 18:48:53 +0000 |
commit | 82fb6a90d5cf5081df11ebed6cfc623159f72676 (patch) | |
tree | aabe815d04a121575f585d48fb5fd41b509efe56 /test/prism/snapshots/seattlerb/case_in.txt | |
parent | 2d80b6093f3b0c21c89db72eebacfef4a535b149 (diff) | |
download | ruby-82fb6a90d5cf5081df11ebed6cfc623159f72676.tar.gz |
[ruby/prism] Track both the unescaped bytes and source string for a regular expression so we can accurately set its encoding flags.
https://github.com/ruby/prism/commit/dc6dd3a926
Diffstat (limited to 'test/prism/snapshots/seattlerb/case_in.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/case_in.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/prism/snapshots/seattlerb/case_in.txt b/test/prism/snapshots/seattlerb/case_in.txt index 6a1cc56da6..e7e291c63f 100644 --- a/test/prism/snapshots/seattlerb/case_in.txt +++ b/test/prism/snapshots/seattlerb/case_in.txt @@ -338,7 +338,7 @@ │ │ └── @ InNode (location: (46,0)-(46,11)) │ │ ├── pattern: │ │ │ @ RegularExpressionNode (location: (46,3)-(46,11)) - │ │ │ ├── flags: ∅ + │ │ │ ├── flags: forced_us_ascii_encoding │ │ │ ├── opening_loc: (46,3)-(46,4) = "/" │ │ │ ├── content_loc: (46,4)-(46,10) = "regexp" │ │ │ ├── closing_loc: (46,10)-(46,11) = "/" |