diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-12-26 18:07:12 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-12-26 23:28:54 +0900 |
commit | 39bc5de83394a380c9967df74e06c824186f8560 (patch) | |
tree | 7e65884740ac7eca54e50ebb9d2954f4bbc9671a /test/ruby/test_exception.rb | |
parent | 81c248924daf387118de5b37b16e08a937df73a3 (diff) |
Remove tainted and trusted features
Already these had been announced to be removed in 3.2.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5348
Diffstat (limited to 'test/ruby/test_exception.rb')
-rw-r--r-- | test/ruby/test_exception.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb index 67f38c2e91..4a08829473 100644 --- a/test/ruby/test_exception.rb +++ b/test/ruby/test_exception.rb @@ -1075,18 +1075,6 @@ $stderr = $stdout; raise "\x82\xa0"') do |outs, errs, status| assert_equal :deprecated, warning[0][1] end - def test_warn_deprecated_to_remove_backwards_compatibility_category - warning = capture_warning_warn { Object.new.tainted? } - - assert_match(/deprecated/, warning[0]) - end - - def test_warn_deprecated_to_remove_category - warning = capture_warning_warn(category: true) { Object.new.tainted? } - - assert_equal :deprecated, warning[0][1] - end - def test_kernel_warn_uplevel warning = capture_warning_warn {warn("test warning", uplevel: 0)} assert_equal("#{__FILE__}:#{__LINE__-1}: warning: test warning\n", warning[0]) |