You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: test_gem_resolver_specification.rb
    path of file: ./repos/artichoke/artichoke-backend/vendor/ruby/test/rubygems
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
require_relative 'helper'

class TestGemResolverSpecificati
    
  def test_installable_platform_eh
    a = util_spec 'a', 1

    a_spec = TestSpec.new a

    assert a_spec.installable_platform?

    b = util_spec 'a', 1 do |s|
      s.platform = Gem::Platform.new %w[cpu other_platform 1]
    end

    b_spec = TestSpec.new b

    refute b_spec.installable_platform?
  end