summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-11-24 13:18:17 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2021-12-09 20:54:26 +0100
commit6729a4b29c0ffa41fbd6c85ddb7c01678443c0bf (patch)
treee1ee7322cf30c27702036948dad2e7d454c4caa0 /tests/auto/testlib/selftests
parent98a42b1627dba24d8bcdf5f7647c7b74b6e15d51 (diff)
TAP test logger: avoid dangling space on TODO and SKIP lines
If an incident has an empty description we produced output with a dangling space. Avoid triggering the inanity 'bot with those. Reorganise the code to save some duplication. Change-Id: I1dc29fa8ad4449a4584f11dddcf002e405cd9238 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/testlib/selftests')
-rw-r--r--tests/auto/testlib/selftests/expected_blacklisted.tap2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/expected_blacklisted.tap b/tests/auto/testlib/selftests/expected_blacklisted.tap
index 3ea8db06e1..af0dab417f 100644
--- a/tests/auto/testlib/selftests/expected_blacklisted.tap
+++ b/tests/auto/testlib/selftests/expected_blacklisted.tap
@@ -2,7 +2,7 @@ TAP version 13
# tst_Blacklisted
ok 1 - initTestCase()
# This test should BPASS
-ok 2 - pass() # TODO
+ok 2 - pass() # TODO
ok 3 - skip() # SKIP This test should SKIP
not ok 4 - fail() # TODO 'false' returned FALSE. (This test should BFAIL)
---