Skip to content

Commit 37bfc9b

Browse files
herwinweregon
authored andcommitted
Remove test for require 'set' from Range#to_set specs
1 parent 717036d commit 37bfc9b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

core/range/to_set_spec.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,4 @@
4444
}.should raise_error(ArgumentError, 'wrong number of arguments (given 1, expected 0)')
4545
end
4646
end
47-
48-
it "does not need explicit `require 'set'`" do
49-
output = ruby_exe(<<~RUBY, options: '--disable-gems', args: '2>&1')
50-
puts (1..3).to_set.to_a.inspect
51-
RUBY
52-
53-
output.chomp.should == "[1, 2, 3]"
54-
end
5547
end

0 commit comments

Comments
 (0)