~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_cmdline.py

  • Committer: Tarmac
  • Author(s): Florent Gallaire
  • Date: 2017-03-17 12:23:47 UTC
  • mfrom: (6621.1.1 fix-gmtime-lite)
  • Revision ID: tarmac-20170317122347-2nnf3cicpgrhux3h
Fix for Windows and 32-bit platforms buggy gmtime(). [r=vila,richard-wilbur]

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
        self.assertAsTokens([(True, '')], u'""')
67
67
        self.assertAsTokens([(False, u"''")], u"''")
68
68
        self.assertAsTokens([(True, '')], u"''", single_quotes_allowed=True)
 
69
        self.assertAsTokens([(False, u'a'), (True, u''), (False, u'c')],
 
70
                            u'a "" c')
 
71
        self.assertAsTokens([(False, u'a'), (True, u''), (False, u'c')],
 
72
                            u"a '' c", single_quotes_allowed=True)
69
73
 
70
74
    def test_unicode_chars(self):
71
75
        self.assertAsTokens([(False, u'f\xb5\xee'), (False, u'\u1234\u3456')],