From bb62a1cf8dffdbaf2b97486e781600023ff1356c Mon Sep 17 00:00:00 2001 From: Satoshi Tagomori Date: Sat, 1 Nov 2025 08:00:18 +0900 Subject: Add flag to ignore EXPERIMENTAL warnings --- test/ruby/test_namespace.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_namespace.rb b/test/ruby/test_namespace.rb index 2b7dd04ac7..0525e0f283 100644 --- a/test/ruby/test_namespace.rb +++ b/test/ruby/test_namespace.rb @@ -183,7 +183,7 @@ class TestNamespace < Test::Unit::TestCase pend unless Namespace.enabled? # require_relative dosn't work well in assert_separately even with __FILE__ and __LINE__ - assert_separately([ENV_ENABLE_NAMESPACE], __FILE__, __LINE__, "here = '#{__dir__}'; #{<<~"begin;"}\n#{<<~'end;'}") + assert_separately([ENV_ENABLE_NAMESPACE], __FILE__, __LINE__, "here = '#{__dir__}'; #{<<~"begin;"}\n#{<<~'end;'}", ignore_stderr: true) begin; ns1 = Namespace.new ns1.require(File.join("#{here}", 'namespace/proc_callee')) -- cgit v1.2.3