Improve some psql test code
commitfbee60f6a4ff2561f5a5af23959a29967f53fbde
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 22 Feb 2022 12:42:38 +0000 (22 13:42 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 28 Feb 2022 13:06:25 +0000 (28 14:06 +0100)
treec0af7d74c0e087763667771fde96fcfe391ff793
parent667726fbe50f21d7d3ce5d5c5949a45c2496b60f
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
src/bin/psql/t/001_basic.pl