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)