diff options
| author | Jemma Issroff <jemmaissroff@gmail.com> | 2023-10-23 12:29:48 -0300 |
|---|---|---|
| committer | Jemma Issroff <jemmaissroff@gmail.com> | 2023-10-23 13:59:48 -0300 |
| commit | 60196b4780954841617f9aef796566e0d28a3ec1 (patch) | |
| tree | d3722e303523a9ae35b6da0db62ab614ed9bc7c9 /test/ruby | |
| parent | f9e122b3d65ec00cb501fd8d3df175c8453f261f (diff) | |
[PRISM] Fix __LINE__ to be 1-indexed by default
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_compile_prism.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_compile_prism.rb b/test/ruby/test_compile_prism.rb index 58744836b2..1e69982148 100644 --- a/test/ruby/test_compile_prism.rb +++ b/test/ruby/test_compile_prism.rb @@ -56,7 +56,7 @@ module Prism end def test_SourceLineNode - ruby_eval = RubyVM::InstructionSequence.compile_prism("__LINE__").eval + ruby_eval = RubyVM::InstructionSequence.compile("__LINE__").eval prism_eval = RubyVM::InstructionSequence.compile_prism("__LINE__").eval assert_equal ruby_eval, prism_eval |
