~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_ignore.py

  • Committer: wang
  • Date: 2006-10-10 07:36:21 UTC
  • mto: (2104.1.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 2105.
  • Revision ID: wang@ubuntu-20061010073621-c17937e940897fdc
"bzr ignore" takes multiple arguments. Fixes bug 29488.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
        self.assertEquals(self.capture('unknowns'), '')
75
75
        self.assertEquals(file('.bzrignore', 'rU').read(), '*.blah\ngarh\n')
76
76
        
 
77
        # 'ignore' works with multiple arguments
 
78
        self.runbzr('ignore a b c')
 
79
        self.assertEquals(self.capture('unknowns'), '')
 
80
        self.assertEquals(file('.bzrignore', 'rU').read(), '*.blah\ngarh\na\nb\nc\n')
 
81
        
77
82
    def test_ignore_old_defaults(self):
78
83
        out, err = self.run_bzr('ignore', '--old-default-rules')
79
84
        self.assertContainsRe(out, 'CVS')