diff options
| author | Satoshi Tagomori <s-tagomori@sakura.ad.jp> | 2025-11-01 08:00:18 +0900 |
|---|---|---|
| committer | Satoshi Tagomori <tagomoris@gmail.com> | 2025-11-03 02:06:11 +0900 |
| commit | bb62a1cf8dffdbaf2b97486e781600023ff1356c (patch) | |
| tree | f6ca69f427fcbed1f871554e2cf3f85a4e74bc6c /test/ruby/test_namespace.rb | |
| parent | e89eecceafea3f8834c6fc4cdd74a7812591cae5 (diff) | |
Add flag to ignore EXPERIMENTAL warnings
Diffstat (limited to 'test/ruby/test_namespace.rb')
| -rw-r--r-- | test/ruby/test_namespace.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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')) |
