david850067064 / as3flexunitlib

Automatically exported from code.google.com/p/as3flexunitlib
0 stars 0 forks source link

A Assert.assertEquals method should be use ObjectUtil.compare() #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello. I'm at a loss about the behavior of == operator.
1. assertEquals({}, {}) => AssertionFailedError
2. assertEquals([], []) => AssertionFailedError

I think a assertEquals method should use ObjectUtil.compare() for comparison.
This method compares objects recursively.

Original issue reported on code.google.com by Hidekats...@gmail.com on 6 Jul 2008 at 11:18