summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_gem_runner.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_gem_runner.rb')
-rw-r--r--test/rubygems/test_gem_gem_runner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_gem_runner.rb b/test/rubygems/test_gem_gem_runner.rb
index 5e4eda0516..c4917b0588 100644
--- a/test/rubygems/test_gem_gem_runner.rb
+++ b/test/rubygems/test_gem_gem_runner.rb
@@ -76,7 +76,7 @@ class TestGemGemRunner < Gem::TestCase
assert_nil @runner.run(args)
end
- assert_equal "WARNING: query command is deprecated. It will be removed on or after 2020-12-01.\n", @ui.error
+ assert_match /WARNING: query command is deprecated. It will be removed in Rubygems [0-9]+/, @ui.error
end
def test_info_succeeds