summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_local_remote_options.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_local_remote_options.rb')
-rw-r--r--test/rubygems/test_gem_local_remote_options.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_local_remote_options.rb b/test/rubygems/test_gem_local_remote_options.rb
index e920972fd9..3dd390ecfd 100644
--- a/test/rubygems/test_gem_local_remote_options.rb
+++ b/test/rubygems/test_gem_local_remote_options.rb
@@ -60,8 +60,9 @@ class TestGemLocalRemoteOptions < RubyGemTestCase
s1 = URI.parse 'http://more-gems.example.com/'
s2 = URI.parse 'http://even-more-gems.example.com/'
s3 = URI.parse 'http://other-gems.example.com/some_subdir'
+ s4 = URI.parse 'http://more-gems.example.com/' # Intentional duplicate
- @cmd.handle_options %W[--source #{s1} --source #{s2} --source #{s3}]
+ @cmd.handle_options %W[--source #{s1} --source #{s2} --source #{s3} --source #{s4}]
assert_equal [s1.to_s, s2.to_s, "#{s3}/"], Gem.sources
end