More tests!!!"

This commit is contained in:
Peter Camilleri 2016-04-09 11:01:21 -04:00
parent 117363f233
commit fa8c00fe4c

View file

@ -52,6 +52,10 @@ class StringMonkeyPatchTester < Minitest::Test
s = "abc"
assert_equal(s.object_id, s.safe_clone.object_id)
assert_equal(s.object_id, s.full_clone.object_id)
b = StringBuffer.new('abc')
refute_equal(b.object_id, b.safe_clone.object_id)
refute_equal(b.object_id, b.full_clone.object_id)
end
end