From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve some psql test code
Date: Mon, 28 Feb 2022 13:17:58 +0000
Message-ID: <E1nOfuX-000I75-L6@gemulon.postgresql.org> (raw)
Improve some psql test code
Split psql_like() into two functions psql_like() and psql_fails_like()
and make them mirror the existing command_like() and
command_fails_like() more closely. In particular, follow the
universal convention that the test name is the last argument.
Discussion: https://www.postgresql.org/message-id/3199e176-424e-1bef-f180-c1548466c2da@enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/fbee60f6a4ff2561f5a5af23959a29967f53fbde
Modified Files
--------------
src/bin/psql/t/001_basic.pl | 59 ++++++++++++++++++++++-----------------------
1 file changed, 29 insertions(+), 30 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: Improve some psql test code
In-Reply-To: <E1nOfuX-000I75-L6@gemulon.postgresql.org>
References: <E1nOfuX-000I75-L6@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox