Mercurial > public > mercurial-scm > hg
diff tests/test-inherit-mode.t @ 12743:4c4aeaab2339
check-code: add 'no tab indent' check for unified tests
and fix the offending tests accordingly
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Sat, 16 Oct 2010 18:09:01 +0200 |
parents | bb69460e9d2d |
children | 5ccdca7df211 |
line wrap: on
line diff
--- a/tests/test-inherit-mode.t Sun Oct 17 04:14:06 2010 +0200 +++ b/tests/test-inherit-mode.t Sat Oct 16 18:09:01 2010 +0200 @@ -17,12 +17,12 @@ > isdir = {} > for root, dirs, files in os.walk(sys.argv[1]): > for d in dirs: - > name = os.path.join(root, d) - > isdir[name] = 1 - > allnames.append(name) + > name = os.path.join(root, d) + > isdir[name] = 1 + > allnames.append(name) > for f in files: - > name = os.path.join(root, f) - > allnames.append(name) + > name = os.path.join(root, f) + > allnames.append(name) > allnames.sort() > for name in allnames: > suffix = name in isdir and '/' or ''