summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Lo <stan.lo@shopify.com>2022-11-15 17:26:47 +0000
committergit <svn-admin@ruby-lang.org>2022-11-15 17:26:51 +0000
commit9751b54971c5ad3bab29ce8af6ec50695aa43251 (patch)
tree682d9195257eec5bf05d23fcc2672eb1e7193b3a
parentac063fd4c44fc90146908e9039706a79484c6b46 (diff)
downloadruby-9751b54971c5ad3bab29ce8af6ec50695aa43251.tar.gz
[ruby/irb] Improve testing infra
(https://github.com/ruby/irb/pull/442) * Add test_in_isolation task to run tests in isolation This simulates how tests are run in Ruby CI and can detect some issues before they're merged and break Ruby CI later. * Run test_in_isolation task on CI * Fix TestRaiseNoBacktraceException's setup https://github.com/ruby/irb/commit/51f23c58b0
-rw-r--r--test/irb/test_raise_no_backtrace_exception.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/irb/test_raise_no_backtrace_exception.rb b/test/irb/test_raise_no_backtrace_exception.rb
index ba8e89c59f..9565419cdd 100644
--- a/test/irb/test_raise_no_backtrace_exception.rb
+++ b/test/irb/test_raise_no_backtrace_exception.rb
@@ -1,4 +1,5 @@
# frozen_string_literal: false
+require "tmpdir"
require_relative "helper"