changeset 7529:0a65a1dd7894

tests: fix no-diffs option
author Matt Mackall <mpm@selenic.com>
date Fri, 19 Dec 2008 16:48:32 -0600
parents eadcc075967e
children 3773e510d433
files tests/run-tests.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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 = '!'