pgsql: Minor style improvements for tab-completion test.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Minor style improvements for tab-completion test.
Date: 2020-01-05 16:35:52
Message-ID: E1io8sa-0001jO-0U@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Minor style improvements for tab-completion test.

Use qr// syntax for regex values.
Include the regex that failed to match in diagnostic reports.

Dagfinn Ilmari Mannsåker

Discussion: https://postgr.es/m/87k16610xk.fsf@wibble.ilmari.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8c081a2f4e8eec11747e709c1ea4c3485ef129dd

Modified Files
--------------
src/bin/psql/t/010_tab_completion.pl | 27 +++++++++++++++------------
1 file changed, 15 insertions(+), 12 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-01-05 16:38:36 Re: pgsql: Add basic TAP tests for psql's tab-completion logic.
Previous Message Dagfinn Ilmari Mannsåker 2020-01-05 13:39:11 Re: pgsql: Add basic TAP tests for psql's tab-completion logic.