improve tests

This commit is contained in:
Torsten Ruger
2015-09-27 20:28:34 +03:00
parent 6e009cc6df
commit 259b0afa96
8 changed files with 83 additions and 83 deletions

View File

@ -129,7 +129,7 @@ module Parfait
internal_object_shrink(len + 1)
end
def ==(other)
def equal?(other)
# this should call parfait get_class, alas that is not implemented yet
return false if other.class != self.class
return false if other.get_length != self.get_length