On 4/10/11, James Graham <jgraham@opera.com> wrote: [...] >> Just delete it. > > Just delete what? > The code that handles the NaN case inside of assert_equals. [...] >> And again, a test that does that is a mistake. Quite obvious. > > How would you write a test that a structured clone correctly preserves > NaN values? > If needed, I would be including to write an `assert_object_equivalence`. In my style, that'd be more like: TestRunner.assert( objectsAreEquivalent(actual, expected) ); -- GarrettReceived on Sunday, 10 April 2011 23:32:39 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:34:06 UTC