Re: pgsql: Add basic TAP tests for psql's tab-completion logic.

Поиск
Список
Период
Сортировка
От ilmari@ilmari.org (Dagfinn Ilmari Mannsåker)
Тема Re: pgsql: Add basic TAP tests for psql's tab-completion logic.
Дата
Msg-id 87k16610xk.fsf@wibble.ilmari.org
обсуждение исходный текст
Ответ на Re: pgsql: Add basic TAP tests for psql's tab-completion logic.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Add basic TAP tests for psql's tab-completion logic.
Re: pgsql: Add basic TAP tests for psql's tab-completion logic.
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Cool, I'll go commit a fix along those lines.  Thanks for tracing
> this down!

Here's one final style cleanup for the TAP test.

- use like() for the banner test
- pass the regexes around as qr// objects, so they can be
  syntax-highlighted properly, and don't need regex
  metacharacter-escaping backslashes doubled.
- include the regex that didn't match in the diagnostic

- ilmari
-- 
"The surreality of the universe tends towards a maximum" -- Skud's Law
"Never formulate a law or axiom that you're not prepared to live with
 the consequences of."                              -- Skud's Meta-Law




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Vik Fearing
Дата:
Сообщение: Re: WIP: System Versioned Temporal Table
Следующее
От: ilmari@ilmari.org (Dagfinn Ilmari Mannsåker)
Дата:
Сообщение: Re: pgsql: Add basic TAP tests for psql's tab-completion logic.