[前][次][番号順一覧][スレッド一覧]

ruby-changes:70080

From: David <ko1@a...>
Date: Mon, 6 Dec 2021 18:43:44 +0900 (JST)
Subject: [ruby-changes:70080] e41c195cc5 (master): [rubygems/rubygems] Fix incorrect quoting

https://git.ruby-lang.org/ruby.git/commit/?id=e41c195cc5

From e41c195cc52b2ce1ba00126917be606d52d75a30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Sun, 5 Dec 2021 09:22:29 +0100
Subject: [rubygems/rubygems] Fix incorrect quoting

Test was just returning a string instead of actually exercising the
require.

https://github.com/rubygems/rubygems/commit/62c827d7e1
---
 test/rubygems/test_project_sanity.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/rubygems/test_project_sanity.rb b/test/rubygems/test_project_sanity.rb
index e9e3bfd1bad..38c2541df6e 100644
--- a/test/rubygems/test_project_sanity.rb
+++ b/test/rubygems/test_project_sanity.rb
@@ -13,7 +13,7 @@ class TestProjectSanity < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_project_sanity.rb#L13
   end
 
   def test_require_rubygems_package
-    err, status = Open3.capture2e(*ruby_with_rubygems_in_load_path, "--disable-gems", "-e", "'require \"rubygems/package\"'")
+    err, status = Open3.capture2e(*ruby_with_rubygems_in_load_path, "--disable-gems", "-e", "require \"rubygems/package\"")
 
     assert status.success?, err
   end
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]