pgsql: Improve some psql test code

Started by Peter Eisentrautover 4 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

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: /messages/by-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(-)