Skip to content

Commit

Permalink
Support 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Nov 27, 2016
1 parent 3c3bd1a commit a2746e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rubygems/test_gem_specification.rb
Expand Up @@ -1260,7 +1260,7 @@ def test_initialize_copy_broken
s.version = '1'
end

spec.instance_variable_set :@licenses, Object.new.singleton_class
spec.instance_variable_set :@licenses, (class << (Object.new);self;end)
spec.loaded_from = '/path/to/file'

e = assert_raises Gem::FormatException do
Expand Down

0 comments on commit a2746e1

Please sign in to comment.