summaryrefslogtreecommitdiff
path: root/test/ruby/test_regexp.rb
diff options
context:
space:
mode:
authorAaron Patterson <[email protected]>2023-10-18 15:58:56 -0700
committerAaron Patterson <[email protected]>2023-10-18 17:16:11 -0700
commit10272b27900dd30981f59fe5e2aed8e14b4f729f (patch)
tree2ee0811293b6b2e700203ac63fe91870b62341b7 /test/ruby/test_regexp.rb
parent10c5063704c5bb086825c5e2e26ab7cacb7dbd7a (diff)
Use assert_separately to avoid defining `foo`
When we eval the iseqs generated by prism, they can have side effects like defining methods. In this case, we were defining the method "foo", but other tests were expecting that the foo method would _not_ be defined.
Diffstat (limited to 'test/ruby/test_regexp.rb')
0 files changed, 0 insertions, 0 deletions