diff options
author | Jean Boussier <[email protected]> | 2024-10-14 14:08:10 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2024-10-16 11:24:25 +0900 |
commit | fdbead76ec83a791b0319c7db29e210a410015f4 (patch) | |
tree | f23ebce415ad5cbd3bee171370613f14d8d00f6e | |
parent | 80136b6abcf51c3caa5e12aa3ab690fc5693ba89 (diff) |
[ruby/json] ractor_test.rb: ignore stderr
When rubygems is double loaded it fails the test.
The warning should happen in the first place but this
makes the test more resilient.
https://github.com/ruby/json/commit/513ddeaeb1
-rw-r--r-- | test/json/ractor_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json/ractor_test.rb b/test/json/ractor_test.rb index ba9bf7a7f6..36196ed23d 100644 --- a/test/json/ractor_test.rb +++ b/test/json/ractor_test.rb @@ -9,7 +9,7 @@ end class JSONInRactorTest < Test::Unit::TestCase def test_generate - assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}") + assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}", ignore_stderr: true) begin; $VERBOSE = nil require "json" |