Simplify TAP test structure to align with upstream (#169)

postgres/postgres@549ec20 moved to using "done_testing()" from
the Perl testing framework, which removed the need to include test
counts.
This commit is contained in:
Jonathan S. Katz
2023-06-29 11:36:08 -04:00
committed by GitHub
parent 7aaba14440
commit de6502ab6e
9 changed files with 27 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ use strict;
use warnings;
use PostgresNode;
use TestLib;
use Test::More tests => 3;
use Test::More;
# Initialize node
my $node = get_new_node('node');
@@ -29,3 +29,5 @@ my ($ret, $stdout, $stderr) = $node->psql("postgres",
"CREATE INDEX lists10000 ON tst USING ivfflat (v) WITH (lists = 10000);"
);
like($stderr, qr/memory required is/);
done_testing();