summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_resolver_index_specification.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_resolver_index_specification.rb')
-rw-r--r--test/rubygems/test_gem_resolver_index_specification.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_resolver_index_specification.rb b/test/rubygems/test_gem_resolver_index_specification.rb
index 3768dd9bae..43e8efd8b6 100644
--- a/test/rubygems/test_gem_resolver_index_specification.rb
+++ b/test/rubygems/test_gem_resolver_index_specification.rb
@@ -55,7 +55,9 @@ class TestGemResolverIndexSpecification < Gem::TestCase
def test_spec
specs = spec_fetcher do |fetcher|
fetcher.spec 'a', 2
- fetcher.spec 'a', 2 do |s| s.platform = Gem::Platform.local end
+ fetcher.spec 'a', 2 do |s|
+ s.platform = Gem::Platform.local
+ end
end
source = Gem::Source.new @gem_repo
@@ -71,7 +73,10 @@ class TestGemResolverIndexSpecification < Gem::TestCase
end
def test_spec_local
- a_2_p = util_spec 'a', 2 do |s| s.platform = Gem::Platform.local end
+ a_2_p = util_spec 'a', 2 do |s|
+ s.platform = Gem::Platform.local
+ end
+
Gem::Package.build a_2_p
source = Gem::Source::Local.new