summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_resolver_index_specification.rb
diff options
context:
space:
mode:
authorIlya Dyakonov <ilushkadyakonov@gmail.com>2022-08-01 09:54:21 +0100
committergit <svn-admin@ruby-lang.org>2022-08-03 06:56:36 +0900
commit4f00ee8d470f4ad5040c0df4cac2cf802b3cbdaf (patch)
tree0737a78681022211ad8241518e329e89c37f9bd3 /test/rubygems/test_gem_resolver_index_specification.rb
parent20936eb3a95f3564e565f59228a35453ae94eee3 (diff)
[rubygems/rubygems] fix platform matching for index specs
https://github.com/rubygems/rubygems/commit/f087f1b590
Diffstat (limited to 'test/rubygems/test_gem_resolver_index_specification.rb')
-rw-r--r--test/rubygems/test_gem_resolver_index_specification.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_resolver_index_specification.rb b/test/rubygems/test_gem_resolver_index_specification.rb
index 339445cb44..b479757bd5 100644
--- a/test/rubygems/test_gem_resolver_index_specification.rb
+++ b/test/rubygems/test_gem_resolver_index_specification.rb
@@ -26,7 +26,7 @@ class TestGemResolverIndexSpecification < Gem::TestCase
spec = Gem::Resolver::IndexSpecification.new(
set, "rails", version, source, Gem::Platform.local)
- assert_equal Gem::Platform.local.to_s, spec.platform
+ assert_equal Gem::Platform.local, spec.platform
end
def test_install