提交 6889c615 编写于 作者: L Larry Lv

Fix `Person#==` method in test.

上级 8a055872
......@@ -14,6 +14,6 @@ def initialize(id)
end
def ==(other_person)
other_person.is_a?(Person) && id = other_person.id
other_person.is_a?(Person) && id == other_person.id
end
end
\ No newline at end of file
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册