~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_ignores.py

  • Committer: John Arbash Meinel
  • Date: 2006-07-19 19:01:56 UTC
  • mto: This revision was merged to the branch mainline in revision 1871.
  • Revision ID: john@arbash-meinel.com-20060719190156-11da95c8e2d987a5
cleanups suggested by Martin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
                '#comment\n'
36
36
                ' xx \n' # whitespace
37
37
                ))
38
 
        self.assertEqual(['./rootdir', 'randomfile*'
39
 
                          , 'path/from/ro?t'
40
 
                          , u'unicode\xb5'
41
 
                          , 'dos'
42
 
                          , ' xx '], ignored)
 
38
        self.assertEqual(['./rootdir',
 
39
                          'randomfile*',
 
40
                          'path/from/ro?t',
 
41
                          u'unicode\xb5',
 
42
                          'dos',
 
43
                          ' xx ',
 
44
                         ], ignored)
 
45
 
43
46
    def test_parse_empty(self):
44
47
        ignored = ignores.parse_ignore_file(StringIO(''))
45
48
        self.assertEqual([], ignored)