test-hybridencode: add a case for direncode
authorAdrian Buehlmann <adrian@cadifra.com>
Sun, 16 Sep 2012 22:43:24 +0200
changeset 17593 9e31a72bede7
parent 17592 64c6a0d4d4bd
child 17595 741e2bef4155
test-hybridencode: add a case for direncode
tests/test-hybridencode.py
tests/test-hybridencode.py.out
--- a/tests/test-hybridencode.py	Mon Sep 17 08:58:35 2012 +0200
+++ b/tests/test-hybridencode.py	Sun Sep 16 22:43:24 2012 +0200
@@ -40,7 +40,7 @@
            ', pipe |, question-mark ?, asterisk *')
 
 print "encoding directories ending in .hg, .i or .d with '.hg' suffix"
-show('data/x.hg/x.i/x.d/foo')
+show('data/x.h.i/x.hg/x.i/x.d/foo')
 show('data/a.hg/a.i/a.d/foo')
 show('data/au.hg/au.i/au.d/foo')
 show('data/aux.hg/aux.i/aux.d/foo')
--- a/tests/test-hybridencode.py.out	Mon Sep 17 08:58:35 2012 +0200
+++ b/tests/test-hybridencode.py.out	Sun Sep 16 22:43:24 2012 +0200
@@ -35,8 +35,8 @@
 B = 'data/less ~3c, greater ~3e, colon ~3a, double-quote ~22, backslash ~5c, pipe ~7c, question-mark ~3f, asterisk ~2a'
 
 encoding directories ending in .hg, .i or .d with '.hg' suffix
-A = 'data/x.hg/x.i/x.d/foo'
-B = 'data/x.hg.hg/x.i.hg/x.d.hg/foo'
+A = 'data/x.h.i/x.hg/x.i/x.d/foo'
+B = 'data/x.h.i.hg/x.hg.hg/x.i.hg/x.d.hg/foo'
 
 A = 'data/a.hg/a.i/a.d/foo'
 B = 'data/a.hg.hg/a.i.hg/a.d.hg/foo'