puts with no message triggers a warning.
----------------------------------------
Key: BUILDR-266
URL: https://issues.apache.org/jira/browse/BUILDR-266
Project: Buildr
Issue Type: Bug
Reporter: Antoine Toulme
Priority: Minor
We use buildr in conjunction with Cucumber. We run our tests with it. We face
an issue when running rake features, the default task to run all the cucumber
.feature files, it shows this message:
./features/step_definitions/../../buildr/spec/spec_helpers.rb:49: warning:
multiple values for a block parameter (0 for 1)
from
/Library/Ruby/Gems/1.8/gems/cucumber-0.1.16/bin/../lib/cucumber/formatters/pretty_formatter.rb:41
cucumber actually outputs a few empty lines: @io.puts
That doesn't seem to do too well with your code here:
define_method severity do |message|
$messages ||= {}
($messages[severity] ||= []) << message
end
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.