[Laszlo-dev] fixing the smoketest in swf9

P T Withington ptw at laszlosystems.com
Tue Oct 28 06:45:20 PDT 2008


This should be fixed now in trunk.

On 2008-10-22, at 11:26EDT, Henry Minsky wrote:

> There's a couple of tests failing in smokecheck for swf9.
> Most of them are of the form:
>
> TestFailure:  >>> testTextFormat failed: Equals:  expected '  {one:  
> 1, two:
> too, 3: three}' got '  {two: too, 3: three, one: 1}'
>
> where obviously the order of iteration is not deterministic.
>
> Is there some easy way we can write this object formatting test that  
> doesn't
> depend on the ordering of the elements? Maybe
> I could just write this test as three separate tests  on {one: 1},  
> {two:
> 'two'}, and {3: 'three'} ?  Or else I guess we could make the object
> formatter sort the elements when printing them...
>
>
>
>
>
>
>
> -- 
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com



More information about the Laszlo-dev mailing list