1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core/gc/start_spec.rb
2019-12-27 16:46:08 +01:00

12 lines
264 B
Ruby

require_relative '../../spec_helper'
describe "GC.start" do
it "always returns nil" do
GC.start.should == nil
GC.start.should == nil
end
it "accepts keyword arguments" do
GC.start(full_mark: true, immediate_sweep: true).should == nil
end
end