Skip to content

Commit f805db3

Browse files
committed
Revert "assert_separately: Suppress experimental warnings"
This reverts commit c2dd855. test-unit 3.7.2 squashes the warnings.
1 parent 9e74ba8 commit f805db3

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/core_assertions.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,6 @@ def assert_separately(args, file = nil, line = nil, src, ignore_stderr: nil, **o
339339
args = args.dup
340340
args.insert((Hash === args.first ? 1 : 0), "-w", "--disable=gems", *$:.map {|l| "-I#{l}"})
341341
args << "--debug" if RUBY_ENGINE == 'jruby' # warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag
342-
# power_assert 3 requires ruby 3.1 or later
343-
args << "-W:no-experimental" if RUBY_VERSION < "3.1."
344342
stdout, stderr, status = EnvUtil.invoke_ruby(args, src, capture_stdout, true, **opt)
345343

346344
if sanitizers&.lsan_enabled?

test-unit-ruby-core.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ Gem::Specification.new do |spec|
2323
]
2424
spec.require_paths = ["lib"]
2525

26-
spec.add_runtime_dependency("test-unit")
26+
spec.add_runtime_dependency("test-unit", ">= 3.7.2")
2727
end

0 commit comments

Comments
 (0)