Question
assertEquals(Date, Date) always fails
Just want to make sure this isn't just my code.<br /><br />Using FlexUnit 0.9, on Flex 3.<br /><br />I have the following assertion in my TestCase:<br />assertEquals("Date values should match", date, currentBasic.date);<br /><br />Which returns the error:<br />Date values should match - expected:<Wed Dec 1 00:00:00 GMT+1000 1920> but was:<Wed Dec 1 00:00:00 GMT+1000 1920><br /><br />Which as you can see, is the same value.<br /><br />I have to change this to:<br />assertEquals("Date values should match", date.toString(), currentBasic.date.toString());<br /><br />for the assertion to pass.<br /><br />Is this expected behaviour or a bug in FlexUnit?
