tests: fix no-diffs option
authorMatt Mackall <mpm@selenic.com>
Fri, 19 Dec 2008 16:48:32 -0600
changeset 7529 0a65a1dd7894
parent 7528 eadcc075967e
child 7530 3773e510d433
tests: fix no-diffs option
tests/run-tests.py
--- 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 = '!'