mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
parent
dd7f0c87c9
commit
07e595fdbd
5 changed files with 29 additions and 5 deletions
|
@ -1266,6 +1266,7 @@ $stderr = $stdout; raise "\x82\xa0"') do |outs, errs, status|
|
|||
assert_raise(TypeError) {Warning[nil]}
|
||||
assert_raise(ArgumentError) {Warning[:XXXX]}
|
||||
assert_include([true, false], Warning[:deprecated])
|
||||
assert_include([true, false], Warning[:experimental])
|
||||
end
|
||||
|
||||
def test_undefined_backtrace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue