We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Warning[:performance]
1 parent 81499f2 commit 7bc65a4Copy full SHA for 7bc65a4
Rakefile
@@ -7,5 +7,7 @@ require 'minitest/test_task'
7
# * test:slow : run tests and reports the slowest 25
8
Minitest::TestTask.create do |t|
9
t.extra_args << '-Werror' # Raise exceptions for warnings: https://github.com/minitest/minitest/commit/f0f17b9
10
- t.test_prelude = 'Warning[:performance] = true' # … including `performance` warnings which are off even with `-w`
+ if RUBY_VERSION > '3.3'
11
+ t.test_prelude = 'Warning[:performance] = true' # … including `performance` warnings which are off even with `-w`
12
+ end
13
end
0 commit comments