changeset 17568:88244af1f66e

store: add 'com0' and 'lpt0' doctest cases for _auxencode() These are already covered by test-hybridencode.py, but they are so noteworthy that I think they deserve being shown right in that doctest.
author Adrian Buehlmann <adrian@cadifra.com>
date Sat, 15 Sep 2012 21:41:45 +0200
parents 2ee7281e5aaa
children e9af2134825c
files mercurial/store.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/store.py	Sat Sep 15 08:38:02 2012 +0200
+++ b/mercurial/store.py	Sat Sep 15 21:41:45 2012 +0200
@@ -132,8 +132,8 @@
 
     >>> _auxencode('.foo/aux.txt/txt.aux/con/prn/nul/foo.', True)
     '~2efoo/au~78.txt/txt.aux/co~6e/pr~6e/nu~6c/foo~2e'
-    >>> _auxencode('.com1com2/lpt9.lpt4.lpt1/conprn/foo.', False)
-    '.com1com2/lp~749.lpt4.lpt1/conprn/foo~2e'
+    >>> _auxencode('.com1com2/lpt9.lpt4.lpt1/conprn/com0/lpt0/foo.', False)
+    '.com1com2/lp~749.lpt4.lpt1/conprn/com0/lpt0/foo~2e'
     >>> _auxencode('foo. ', True)
     'foo.~20'
     >>> _auxencode(' .foo', True)