We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4357bb0 commit 138b990Copy full SHA for 138b990
spec/ruby/core/gc/stat_spec.rb
@@ -25,13 +25,16 @@
25
26
it "provides some number for count" do
27
GC.stat(:count).should be_kind_of(Integer)
28
+ GC.stat[:count].should be_kind_of(Integer)
29
end
30
31
it "provides some number for heap_free_slots" do
32
GC.stat(:heap_free_slots).should be_kind_of(Integer)
33
+ GC.stat[:heap_free_slots].should be_kind_of(Integer)
34
35
36
it "provides some number for total_allocated_objects" do
37
GC.stat(:total_allocated_objects).should be_kind_of(Integer)
38
+ GC.stat[:total_allocated_objects].should be_kind_of(Integer)
39
40
0 commit comments