From 6729a4b29c0ffa41fbd6c85ddb7c01678443c0bf Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Wed, 24 Nov 2021 13:18:17 +0100 Subject: 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 --- tests/auto/testlib/selftests/expected_blacklisted.tap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/testlib') 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) --- -- cgit v1.2.3