On Tuesday 07 September 2010 14:15, Jonas Maebe wrote:
> On 07 Sep 2010, at 14:05, zeljko wrote:
> > Test haven't passed, so I fixed problem (was in currency negative
> > format).
> > Changes:
> > 1.Use clocale under UNIX so various locales can be tested
> > 2.Don't hardcode DecimalSeparator, now it's as it is.
>
> That's not a good idea. Tests for different functionality should be
> separated into different tests, so that the it's clear what's broken
> when the test fails. Simply set decimalseparator to a particular value
> on startup if you wish to test the float->string conversion.

Ok, then I'll create new patch (anyway have to do so because it doesn't pass 
on win32 yet).
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to