Author: gwilson Date: 2007-11-03 21:32:02 -0500 (Sat, 03 Nov 2007) New Revision: 6647
Modified: django/trunk/tests/regressiontests/defaultfilters/tests.py Log: Added tests for `floatformat` template filter for number with non-zero decimal place digit and ending in zeros. Modified: django/trunk/tests/regressiontests/defaultfilters/tests.py =================================================================== --- django/trunk/tests/regressiontests/defaultfilters/tests.py 2007-11-04 02:27:17 UTC (rev 6646) +++ django/trunk/tests/regressiontests/defaultfilters/tests.py 2007-11-04 02:32:02 UTC (rev 6647) @@ -17,6 +17,10 @@ u'7.700' >>> floatformat(6.000000,3) u'6.000' +>>> floatformat(6.200000, 3) +u'6.200' +>>> floatformat(6.200000, -3) +u'6.200' >>> floatformat(13.1031,-3) u'13.103' >>> floatformat(11.1197, -2) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
