Skip to content

Commit bb62a1c

Browse files
committed
Add flag to ignore EXPERIMENTAL warnings
1 parent e89eecc commit bb62a1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ruby/test_namespace.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def test_proc_defined_in_namespace_refers_module_in_namespace
183183
pend unless Namespace.enabled?
184184

185185
# require_relative dosn't work well in assert_separately even with __FILE__ and __LINE__
186-
assert_separately([ENV_ENABLE_NAMESPACE], __FILE__, __LINE__, "here = '#{__dir__}'; #{<<~"begin;"}\n#{<<~'end;'}")
186+
assert_separately([ENV_ENABLE_NAMESPACE], __FILE__, __LINE__, "here = '#{__dir__}'; #{<<~"begin;"}\n#{<<~'end;'}", ignore_stderr: true)
187187
begin;
188188
ns1 = Namespace.new
189189
ns1.require(File.join("#{here}", 'namespace/proc_callee'))

0 commit comments

Comments
 (0)