summaryrefslogtreecommitdiff
path: root/spec/ruby/core/gc/start_spec.rb
blob: c94105896905268082cd75abd565420909585b13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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