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