diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-07-17 19:50:47 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-07-17 19:50:47 +0900 |
| commit | f1adc5866a77d9ed6e4b45bf277c38f2c6e90fd4 (patch) | |
| tree | 21017b25d8e92c3f70cfcab5ccd2b71fc67d697a /test/ruby | |
| parent | b998e6b79d3fa9326d4426ab8138a1e8bf0e2d0d (diff) | |
Fix up to require objspace
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_process.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 988618ecb8..ed72279689 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -2690,11 +2690,11 @@ EOS def test_warmup_promote_all_objects_to_oldgen assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}") + require 'objspace' begin; obj = Object.new - Process.warmup - refute_include(ObjectSpace.dump(obj), '"old":true') + assert_not_include(ObjectSpace.dump(obj), '"old":true') Process.warmup assert_include(ObjectSpace.dump(obj), '"old":true') end; |
