##// END OF EJS Templates
Fix quoting tests on Windows....
Antony Lee -
Show More
@@ -38,10 +38,10 b' def greedy_completion():'
38 38 def test_protect_filename():
39 39 if sys.platform == 'win32':
40 40 pairs = [ ('abc','abc'),
41 (' abc',"' abc'"),
42 ('a bc',"'a bc'"),
43 ('a bc',"'a bc'"),
44 (' bc',"' bc'"),
41 (' abc','" abc"'),
42 ('a bc','"a bc"'),
43 ('a bc','"a bc"'),
44 (' bc','" bc"'),
45 45 ]
46 46 else:
47 47 pairs = [ ('abc','abc'),
@@ -49,7 +49,7 b' def test_protect_filename():'
49 49 ('a bc',r'a\ bc'),
50 50 ('a bc',r'a\ \ bc'),
51 51 (' bc',r'\ \ bc'),
52 # On posix, we also protect parens and other special characters
52 # On posix, we also protect parens and other special characters.
53 53 ('a(bc',r'a\(bc'),
54 54 ('a)bc',r'a\)bc'),
55 55 ('a( )bc',r'a\(\ \)bc'),
General Comments 0
You need to be logged in to leave comments. Login now