diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-09-14 15:19:15 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-09-14 15:26:25 +0900 |
| commit | 998ae7c3f36b65f04471cd680b4c7ac78b3d9f30 (patch) | |
| tree | 57a8cac51c9dd5e99b3305c0f1dd8dcb4ff57401 /test/ruby | |
| parent | b6de0a6c69a4857ca4347f65d7c9a5cb6e52c5bd (diff) | |
[Bug #19868] Deprecate `Process::Status#&` and `Process::Status#>>`
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8392
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 d1fb8d366a..5787f2dbe2 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1451,10 +1451,10 @@ class TestProcess < Test::Unit::TestCase assert_equal(s, s) assert_equal(s, s.to_i) - assert_warn(/\bUse .*Process::Status/) do + assert_deprecated_warn(/\buse .*Process::Status/) do assert_equal(s.to_i & 0x55555555, s & 0x55555555) end - assert_warn(/\bUse .*Process::Status/) do + assert_deprecated_warn(/\buse .*Process::Status/) do assert_equal(s.to_i >> 1, s >> 1) end assert_raise(ArgumentError) do |
