|
From: Aaron C. <aar...@un...> - 2009-10-26 05:19:56
|
Please refer to the attached file. What seems to be happening, is that two different arrays (one indexed, one associative) are compared with assertClone. Simpletest reports that "[Array: 3 items] and [Array: 3 items] should not be the same object at [TestSimpletestCloneTestCase.php line 27]". This seems to be implying that Simpletest detected the two arrays as being one? In comparison assertReference returns "[Array: 3 items] and [Array: 3 items] should reference the same object at [TestSimpletestCloneTestCase.php line 33]". Which is an expected outcome. I'm uncertain at this stage if there is a problem between my chair and keyboard, or if Simpletest is telling mincy pies? -- Please sponsor my team and I for the Sydney to Wollongong Ride on Noverber the 1st 2009! http://register.gongride.org.au/?aaronchilcott Donations over $65 get a free autographed photograph! |