from twisted.trial import unittest
from formal import form, validation

class TestFormErrors(unittest.TestCase):
    
    def test_nonzero(self):
        e = form.FormErrors('foo')
        self.failIf(not not e)
        self.failUnless(not e)
        e.add(validation.FieldRequiredError('required'))
        self.failIf(not e)
        self.failUnless(not not e)


@@ -171,13 +171,8 @@
 ors(
-'foo'
 )%0A  

Fix the FormErrors test.