From 8b26f4a59e7f097c02829c16ac6bb44fdd53dcfd Mon Sep 17 00:00:00 2001 From: Elizabeth Mattijsen Date: Sat, 2 Sep 2023 13:45:08 +0200 Subject: [PATCH] Make tests adhere to the TAP protocol Each test number should only occur once --- t/01-sanity/13-equal.t | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/t/01-sanity/13-equal.t b/t/01-sanity/13-equal.t index 7f443d203cf..59e9106f8a6 100644 --- a/t/01-sanity/13-equal.t +++ b/t/01-sanity/13-equal.t @@ -1,14 +1,14 @@ # Checking that testing is sane: equality and inequality -say '1..4'; +say '1..6'; my $x = '0'; ($x eq $x) && say 'ok 1'; -($x ne $x) && say 'not ok 1'; -($x eq $x) || say 'not ok 2'; -($x ne $x) || say 'ok 2'; +($x ne $x) && say 'not ok 2'; +($x eq $x) || say 'not ok 3'; +($x ne $x) || say 'ok 4'; -($x == $x) && say 'ok 3'; -($x != $x) || say 'ok 4'; +($x == $x) && say 'ok 5'; +($x != $x) || say 'ok 6'; # vim: expandtab shiftwidth=4