Skip to content

Commit 23e5c29

Browse files
committed
Merge pull request #126 from ruby/fix-verbose-option
Remove -W option on TestTask
2 parents bd8dfea + 89d8c6e commit 23e5c29

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

History.rdoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
=== 11.1.2 / 2016-03-28
2+
3+
Bug fixes:
4+
5+
* Remove `-W` option when Rake::TestTask#verbose enabled. It's misunderstanding
6+
specification change with Rake 11. Partly revert #67
7+
18
=== 11.1.1 / 2016-03-14
29

310
Bug fixes:

lib/rake/testtask.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ def ruby_opts_string # :nodoc:
128128
opts = @ruby_opts.dup
129129
opts.unshift("-I\"#{lib_path}\"") unless @libs.empty?
130130
opts.unshift("-w") if @warning
131-
opts.unshift('-W') if @verbose
132131
opts.join(" ")
133132
end
134133

test/test_rake_test_task.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ def test_initialize_override
3131
assert_equal true, tt.warning
3232
assert_equal true, tt.verbose
3333
assert_match(/-w/, tt.ruby_opts_string)
34-
assert_match(/-W/, tt.ruby_opts_string)
3534
assert Task.task_defined?(:example)
3635
end
3736

0 commit comments

Comments
 (0)