summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>2026-04-08 04:36:18 +0000
committergit <svn-admin@ruby-lang.org>2026-04-08 05:05:56 +0000
commitb11091ca511a911c67c38bae8d4aeaf6260b13c8 (patch)
tree4b1c6dd7f6a9759ad406c97870e9390180b6c1c3
parentfdc2a611f4fbd3013bdb82892dabc55c1d4c2cfa (diff)
[ruby/rubygems] Use distinct gemspec filenames in stub_with_version and stub_without_version helpers
Agent-Logs-Url: https://github.com/ruby/rubygems/sessions/4028db0e-e050-48af-9704-4219653a4753 https://github.com/ruby/rubygems/commit/951ef62f76 Co-authored-by: hsbt <12301+hsbt@users.noreply.github.com>
-rw-r--r--test/rubygems/test_gem_stub_specification.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_stub_specification.rb b/test/rubygems/test_gem_stub_specification.rb
index 2a1e715715..6c07480c7f 100644
--- a/test/rubygems/test_gem_stub_specification.rb
+++ b/test/rubygems/test_gem_stub_specification.rb
@@ -221,7 +221,7 @@ class TestStubSpecification < Gem::TestCase
end
def stub_with_version
- spec = File.join @gemhome, "specifications", "stub_v-2.gemspec"
+ spec = File.join @gemhome, "specifications", "stub_v-with-version.gemspec"
File.open spec, "w" do |io|
io.write <<~STUB
# -*- encoding: utf-8 -*-
@@ -244,7 +244,7 @@ class TestStubSpecification < Gem::TestCase
end
def stub_without_version
- spec = File.join @gemhome, "specifications", "stub_v-2.gemspec"
+ spec = File.join @gemhome, "specifications", "stub_v-without-version.gemspec"
File.open spec, "w" do |io|
io.write <<~STUB
# -*- encoding: utf-8 -*-