Skip to content

Commit

Permalink
Delete message which indicates the use of TESTOPTS="--verbose"
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiquekandykoga committed Oct 27, 2021
1 parent 0ecf5d0 commit 6c6c62e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions lib/rake/testtask.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ def define
desc @description
task @name => Array(deps) do
FileUtilsExt.verbose(@verbose) do
puts "Use TESTOPTS=\"--verbose\" to pass --verbose" \
", etc. to runners." if ARGV.include? "--verbose"
args =
"#{ruby_opts_string} #{run_code} " +
"#{file_list_string} #{option_list}"
Expand Down
7 changes: 0 additions & 7 deletions test/test_rake_functional.rb
Original file line number Diff line number Diff line change
Expand Up @@ -422,13 +422,6 @@ def test_test_task_when_verbose_unless_verbose_passed_not_prompt_testopts
refute_match exp, @out
end

def test_test_task_when_verbose_passed_prompts_testopts
rakefile_test_task
rake "--verbose", "unit"
exp = /TESTOPTS="--verbose" to pass --verbose/
assert_match exp, @out
end

def test_comment_before_task_acts_like_desc
rakefile_comments

Expand Down

0 comments on commit 6c6c62e

Please sign in to comment.