##// END OF EJS Templates
check-code: improve test-check-code error diffs...
timeless -
r27560:15b06f30 default
parent child Browse files
Show More
@@ -478,7 +478,13 b' def checkfile(f, logfunc=_defaultlogger.'
478 name, match, f)
478 name, match, f)
479 continue
479 continue
480 if "no-" "check-code" in pre:
480 if "no-" "check-code" in pre:
481 print "Skipping %s it has no-" "check-code" % f
481 # If you're looking at this line, it's because a file has:
482 # no- check- code
483 # but the reason to output skipping is to make life for
484 # tests easier. So, instead of writing it with a normal
485 # spelling, we write it with the expected spelling from
486 # tests/test-check-code.t
487 print "Skipping %s it has no-che?k-code (glob)" % f
482 return "Skip" # skip checking this file
488 return "Skip" # skip checking this file
483 for p, r in filters:
489 for p, r in filters:
484 post = re.sub(p, r, post)
490 post = re.sub(p, r, post)
General Comments 0
You need to be logged in to leave comments. Login now