You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2020/08/15 16:51:34 UTC

[incubator-ponymail-unit-tests] branch master updated: Align output

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-unit-tests.git


The following commit(s) were added to refs/heads/master by this push:
     new 327b56a  Align output
327b56a is described below

commit 327b56a21a466490e99b87ff88a9a15421c2d9c0
Author: Sebb <se...@apache.org>
AuthorDate: Sat Aug 15 17:51:01 2020 +0100

    Align output
---
 tests/test-generators.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test-generators.py b/tests/test-generators.py
index 19a88ec..6b8d96a 100644
--- a/tests/test-generators.py
+++ b/tests/test-generators.py
@@ -107,7 +107,7 @@ def run_tests(args):
 
                 if json['mid'] != test['generated']:
                     errors += 1
-                    sys.stderr.write("""[FAIL] %s, index %u: Expected '%s', got '%s'!\n""" %
+                    sys.stderr.write("""[FAIL] %s, index %2u: Expected '%s', got '%s'!\n""" %
                                      (gen_type, test['index'], test['generated'], json['mid']))
                 else:
                     print("[PASS] %s index %u" % (gen_type, test['index']))