/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 bzrlib/tests/test_win32utils.py

  • Committer: Vincent Ladeuil
  • Date: 2009-11-11 04:03:33 UTC
  • mfrom: (4789.3.2 2.1.0b3-glob-sorted)
  • mto: This revision was merged to the branch mainline in revision 4794.
  • Revision ID: v.ladeuil+lp@free.fr-20091111040333-ndbj242uqv3cviz7
Fix glob tests order-related failures

Show diffs side-by-side

added added

removed removed

Lines of Context:
327
327
class Test_CommandLineToArgv(tests.TestCaseInTempDir):
328
328
 
329
329
    def assertCommandLine(self, expected, line):
330
 
        self.assertEqual(expected, win32utils._command_line_to_argv(line))
 
330
        # Strictly speaking we should respect parameter order versus glob
 
331
        # expansions, but it's not really worth the effort here
 
332
        self.assertEqual(expected,
 
333
                         sorted(win32utils._command_line_to_argv(line)))
331
334
 
332
335
    def test_glob_paths(self):
333
336
        self.build_tree(['a/', 'a/b.c', 'a/c.c', 'a/c.h'])