diff tests/run-tests.py @ 7529:0a65a1dd7894

tests: fix no-diffs option
author Matt Mackall <mpm@selenic.com>
date Fri, 19 Dec 2008 16:48:32 -0600
parents 7900d240c3d8
children a343cd25e425
line wrap: on
line diff
--- a/tests/run-tests.py	Fri Dec 19 16:48:31 2008 -0600
+++ b/tests/run-tests.py	Fri Dec 19 16:48:32 2008 -0600
@@ -400,8 +400,8 @@
             fail("output changed and returned error code %d" % ret)
         else:
             fail("output changed")
-            if not nodiff:
-                show_diff(ref_out, out)
+        if not nodiff:
+            show_diff(ref_out, out)
         ret = 1
     elif ret:
         mark = '!'