~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-01-19 20:22:57 UTC
  • mfrom: (5574.9.5 diff-git)
  • Revision ID: pqm@pqm.ubuntu.com-20110119202257-1fi3v53uhzsvacci
(jelmer) Support short option '-F' as alternative for 'bzr diff --format'.
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
323
323
        self.build_tree_contents([('hello', 'hello world!\n')])
324
324
        output = self.run_bzr('diff --format=boo', retcode=1)
325
325
        self.assertTrue("BOO!" in output[0])
 
326
        output = self.run_bzr('diff -Fboo', retcode=1)
 
327
        self.assertTrue("BOO!" in output[0])
 
328
 
326
329
 
327
330
class TestCheckoutDiff(TestDiff):
328
331