comparison tests/test-hybridencode.py @ 17593:9e31a72bede7

test-hybridencode: add a case for direncode
author Adrian Buehlmann <adrian@cadifra.com>
date Sun, 16 Sep 2012 22:43:24 +0200
parents eb0884680f5c
children 4038071af82a
comparison
equal deleted inserted replaced
17592:64c6a0d4d4bd 17593:9e31a72bede7
38 print "Windows reserved characters" 38 print "Windows reserved characters"
39 show('data/less <, greater >, colon :, double-quote ", backslash \\' 39 show('data/less <, greater >, colon :, double-quote ", backslash \\'
40 ', pipe |, question-mark ?, asterisk *') 40 ', pipe |, question-mark ?, asterisk *')
41 41
42 print "encoding directories ending in .hg, .i or .d with '.hg' suffix" 42 print "encoding directories ending in .hg, .i or .d with '.hg' suffix"
43 show('data/x.hg/x.i/x.d/foo') 43 show('data/x.h.i/x.hg/x.i/x.d/foo')
44 show('data/a.hg/a.i/a.d/foo') 44 show('data/a.hg/a.i/a.d/foo')
45 show('data/au.hg/au.i/au.d/foo') 45 show('data/au.hg/au.i/au.d/foo')
46 show('data/aux.hg/aux.i/aux.d/foo') 46 show('data/aux.hg/aux.i/aux.d/foo')
47 show('data/auxy.hg/auxy.i/auxy.d/foo') 47 show('data/auxy.hg/auxy.i/auxy.d/foo')
48 48