Skip to content

Commit 9ae551b

Browse files
committed
Clarify reason for expected memsize in spec.
1 parent 9e71201 commit 9ae551b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/ruby/optional/capi/typed_data_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111

1212
it "uses the specified memsize function for ObjectSpace.memsize" do
1313
@s = CApiAllocTypedSpecs.new
14+
# The defined memsize function for the type should return 42 as
15+
# the size, and this should be added to the size of the object as
16+
# known by Ruby.
1417
ObjectSpace.memsize_of(@s).should > 42
1518
end
1619
end

0 commit comments

Comments
 (0)