diff tests/test-check-code-hg.t @ 22047:8fb6844a4ff1

tests: change some #ifs to #requires
author Matt Mackall <mpm@selenic.com>
date Wed, 06 Aug 2014 11:53:08 -0500
parents c58aa73bf0b9
children
line wrap: on
line diff
--- a/tests/test-check-code-hg.t	Wed Aug 06 11:43:59 2014 -0500
+++ b/tests/test-check-code-hg.t	Wed Aug 06 11:53:08 2014 -0500
@@ -1,4 +1,4 @@
-#if test-repo
+#require test-repo
 
   $ check_code="$TESTDIR"/../contrib/check-code.py
   $ cd "$TESTDIR"/..
@@ -13,5 +13,3 @@
   Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
   Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)
   Skipping mercurial/httpclient/socketutil.py it has no-che?k-code (glob)
-
-#endif