mirror of
https://github.com/PeterCamilleri/fOOrth
synced 2024-11-16 07:47:56 +01:00
More tests!!!"
This commit is contained in:
parent
117363f233
commit
fa8c00fe4c
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue