From 0f3f907e17bba1b94c5e202cb57988af8c6c91fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 1 Dec 2023 12:52:47 +0100 Subject: [PATCH] [rubygems/rubygems] Add some early assertions to make sure the test is progressing fine If an error happens during the install command, it will fail in an strange way right now. https://github.com/rubygems/rubygems/commit/2b6e0c703a --- test/rubygems/test_gem_commands_pristine_command.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/rubygems/test_gem_commands_pristine_command.rb b/test/rubygems/test_gem_commands_pristine_command.rb index ff5e6f166d..0f878b8513 100644 --- a/test/rubygems/test_gem_commands_pristine_command.rb +++ b/test/rubygems/test_gem_commands_pristine_command.rb @@ -392,6 +392,9 @@ class TestGemCommandsPristineCommand < Gem::TestCase b = util_spec "b" install_gem b + assert_path_exist File.join(gemhome2, "gems", "b-2") + assert_path_not_exist File.join(@gemhome, "gems", "b-2") + @cmd.options[:args] = %w[a b] use_ui @ui do