Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove -W option on TestTask #126

Merged
merged 1 commit into from
Mar 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions History.rdoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
=== 11.1.2 / 2016-03-28

Bug fixes:

* Remove `-W` option when Rake::TestTask#verbose enabled. It's misunderstanding
specification change with Rake 11. Partly revert #67

=== 11.1.1 / 2016-03-14

Bug fixes:
Expand Down
1 change: 0 additions & 1 deletion lib/rake/testtask.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ def ruby_opts_string # :nodoc:
opts = @ruby_opts.dup
opts.unshift("-I\"#{lib_path}\"") unless @libs.empty?
opts.unshift("-w") if @warning
opts.unshift('-W') if @verbose
opts.join(" ")
end

Expand Down
1 change: 0 additions & 1 deletion test/test_rake_test_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def test_initialize_override
assert_equal true, tt.warning
assert_equal true, tt.verbose
assert_match(/-w/, tt.ruby_opts_string)
assert_match(/-W/, tt.ruby_opts_string)
assert Task.task_defined?(:example)
end

Expand Down