summaryrefslogtreecommitdiff
path: root/test/prism/fixtures/regex.txt
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-11-09 22:59:35 -0500
committerKevin Newton <kddnewton@gmail.com>2023-11-20 18:00:44 -0500
commite269096d15a4488a8ae34aca38752989e61304c7 (patch)
tree7e92471855d8210d9b3d623437a664d8f378ef63 /test/prism/fixtures/regex.txt
parentfa547cd70243710e90bf57377402cbbdf910efa3 (diff)
[ruby/prism] Replace match write locals with match write targets
https://github.com/ruby/prism/commit/eec1862967
Diffstat (limited to 'test/prism/fixtures/regex.txt')
-rw-r--r--test/prism/fixtures/regex.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/prism/fixtures/regex.txt b/test/prism/fixtures/regex.txt
index c27e022d01..ef2f6d45a3 100644
--- a/test/prism/fixtures/regex.txt
+++ b/test/prism/fixtures/regex.txt
@@ -35,3 +35,6 @@ b>)/ =~ ""; ab
/(?<abc>)(?<abc>)/ =~ ""; abc
/(?<a b>)/ =~ ""
+
+a = 1
+tap { /(?<a>)/ =~ to_s }