File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class Gem::Commands::QueryCommand < Gem::Command
1313 def deprecation_warning
1414 warning_without_suggested_alternatives
1515
16- message = "\n It is recommended that you use `gem search` or `gem list` instead.\n "
16+ message = "It is recommended that you use `gem search` or `gem list` instead.\n "
1717 alert_warning message unless Gem ::Deprecate . skip
1818 end
1919
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ def test_query_is_deprecated
7878 end
7979
8080 assert_match ( /WARNING: query command is deprecated. It will be removed in Rubygems [0-9]+/ , @ui . error )
81- assert_match ( /It is recommended that you use `gem search` or `gem list` instead/ , @ui . error )
81+ assert_match ( /WARNING: It is recommended that you use `gem search` or `gem list` instead/ , @ui . error )
8282 end
8383
8484 def test_info_succeeds
You can’t perform that action at this time.
0 commit comments