Skip to content

Commit 2bd62c5

Browse files
committed
Minor fix to make deprecation tests pass when using rake testW0
[git-p4: depot-paths = "//src/minitest/dev/": change = 14270]
1 parent 6a6945e commit 2bd62c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/minitest/metametameta.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def error_on_warn?
2727
end
2828

2929
def assert_deprecation re = /DEPRECATED/
30+
re = // if $-w.nil? # "skip" if running `rake testW0`
3031
assert_output "", re do
3132
yield
3233
end

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy