summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_iseq.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/ruby/test_iseq.rb b/test/ruby/test_iseq.rb
index f5c0b82057..dd81610b53 100644
--- a/test/ruby/test_iseq.rb
+++ b/test/ruby/test_iseq.rb
@@ -805,10 +805,7 @@ class TestISeq < Test::Unit::TestCase
f.close
assert_nothing_raised(TypeError) do
- begin
- RubyVM::InstructionSequence.compile_prism(f.path)
- rescue SyntaxError
- end
+ RubyVM::InstructionSequence.compile_prism(f)
end
end
end