summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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