diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2023-09-28 09:05:16 -0400 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2023-09-28 09:44:16 -0400 |
| commit | a213d2144827ab3151d3291794e87fbfb8523a2e (patch) | |
| tree | 95ea1201a7a309c645e768f46f3103046c316011 /test | |
| parent | 834560a923dcc4aa6685fb7fd7aecae1808217f1 (diff) | |
Move CRuby-specific prism files to top level
Diffstat (limited to 'test')
| -rw-r--r-- | test/ruby/test_compile_prism.rb (renamed from test/prism/iseq_test.rb) | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/prism/iseq_test.rb b/test/ruby/test_compile_prism.rb index 8fe5c99505..bf36f5e1f0 100644 --- a/test/prism/iseq_test.rb +++ b/test/ruby/test_compile_prism.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true module Prism - class ISeqTest < Test::Unit::TestCase + class TestCompilePrism < Test::Unit::TestCase def test_empty_program test_prism_eval("") end @@ -334,10 +334,11 @@ module Prism end def test_prism_eval(source) - compare_eval(source) + $VERBOSE, verbose_bak = nil, $VERBOSE begin - $VERBOSE, verbose_bak = nil, $VERBOSE + compare_eval(source) + # Test "popped" functionality compare_eval("#{source}; 1") ensure |
