You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed my MiniTest suite throwing "warning: method redefined" at me when running with rake. Using guard, however, the warnings are suppressed and I don't see where this is configured or how this is happening.
The Rakefile has a setting for this:
Rake::TestTask.newdo |t|
t.warning=trueend
RUBYOPT is set to the same value not including any -W – checked that in a unit test which issues a warning.
There's no such thing in Guardfile, can warnings be enabled at all? If not, why are they suppressed by default and would a PR be considered which adds a config similar to the one in Rake::TestTask?
The text was updated successfully, but these errors were encountered:
I've noticed my MiniTest suite throwing "warning: method redefined" at me when running with
rake
. Using guard, however, the warnings are suppressed and I don't see where this is configured or how this is happening.The Rakefile has a setting for this:
RUBYOPT is set to the same value not including any
-W
– checked that in a unit test which issues a warning.There's no such thing in Guardfile, can warnings be enabled at all? If not, why are they suppressed by default and would a PR be considered which adds a config similar to the one in Rake::TestTask?
The text was updated successfully, but these errors were encountered: