/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/blackbox/test_patch.py

  • Committer: Jelmer Vernooij
  • Date: 2019-06-16 02:23:42 UTC
  • mfrom: (7340 work)
  • mto: This revision was merged to the branch mainline in revision 7350.
  • Revision ID: jelmer@jelmer.uk-20190616022342-ihxzayq04x5culzd
merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
        self.assertFileEqual('hello', 'myfile')
35
35
        self.run_bzr('patch -p1 --silent mypatch')
36
36
        self.assertFileEqual('goodbye', 'myfile')
 
37
 
 
38
    def test_patch_invalid_strip(self):
 
39
        self.run_bzr_error(
 
40
            args="patch --strip=a",
 
41
            error_regexes=[
 
42
                'brz: ERROR: invalid value for option -p/--strip: a'])