Skip to content

Commit ae5de3f

Browse files
Delete message which indicates the use of TESTOPTS="--verbose"
1 parent a8f36f1 commit ae5de3f

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

Diff for: lib/rake/testtask.rb

-2
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,6 @@ def define
109109
desc @description
110110
task @name => Array(deps) do
111111
FileUtilsExt.verbose(@verbose) do
112-
puts "Use TESTOPTS=\"--verbose\" to pass --verbose" \
113-
", etc. to runners." if ARGV.include? "--verbose"
114112
args =
115113
"#{ruby_opts_string} #{run_code} " +
116114
"#{file_list_string} #{option_list}"

Diff for: test/test_rake_functional.rb

-7
Original file line numberDiff line numberDiff line change
@@ -422,13 +422,6 @@ def test_test_task_when_verbose_unless_verbose_passed_not_prompt_testopts
422422
refute_match exp, @out
423423
end
424424

425-
def test_test_task_when_verbose_passed_prompts_testopts
426-
rakefile_test_task
427-
rake "--verbose", "unit"
428-
exp = /TESTOPTS="--verbose" to pass --verbose/
429-
assert_match exp, @out
430-
end
431-
432425
def test_comment_before_task_acts_like_desc
433426
rakefile_comments
434427

0 commit comments

Comments
 (0)