blob: f1436e60229872eb687ce1691c6f97172f0f8a41 (
plain)
1
2
3
4
5
6
7
8
9
10
|
require_relative '../../spec_helper'
describe 'Set' do
it 'is available without explicit requiring' do
output = ruby_exe(<<~RUBY, options: '--disable-gems', args: '2>&1')
puts Set.new([1, 2, 3])
RUBY
output.chomp.should == "#<Set: {1, 2, 3}>"
end
end
|