aboutsummaryrefslogtreecommitdiffstats
path: root/test/irb/test_raise_no_backtrace_exception.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/irb/test_raise_no_backtrace_exception.rb')
-rw-r--r--test/irb/test_raise_no_backtrace_exception.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/irb/test_raise_no_backtrace_exception.rb b/test/irb/test_raise_no_backtrace_exception.rb
index a532d8b3ec..ba8e89c59f 100644
--- a/test/irb/test_raise_no_backtrace_exception.rb
+++ b/test/irb/test_raise_no_backtrace_exception.rb
@@ -1,8 +1,9 @@
# frozen_string_literal: false
-require 'test/unit'
+
+require_relative "helper"
module TestIRB
- class TestRaiseNoBacktraceException < Test::Unit::TestCase
+ class TestRaiseNoBacktraceException < TestCase
def test_raise_exception
bundle_exec = ENV.key?('BUNDLE_GEMFILE') ? ['-rbundler/setup'] : []
assert_in_out_err(bundle_exec + %w[-rirb -W0 -e IRB.start(__FILE__) -- -f --], <<-IRB, /Exception: foo/, [])