Re: [PATCH] Add tests for psql tab completion

2022-02-14 Thread Tom Lane
[ Please keep the mailing list cc'd ] Matheus Alcantara writes: > On Monday, February 14th, 2022 at 17:01, Tom Lane wrote: >> What exactly is the motivation for these particular tests? > I was studying the source code and looking for projects that I could > contribute so I decided > to start

Re: [PATCH] Add tests for psql tab completion

2022-02-14 Thread Tom Lane
Matheus Alcantara writes: > I'm attaching a patch that add some new test cases for tab completion of psql. What exactly is the motivation for these particular tests? I believe that most of tab-complete.c is already covered, outside of the giant if-else chain at the heart of psql_completion().

[PATCH] Add tests for psql tab completion

2022-02-12 Thread Matheus Alcantara
Alcantara Date: Sat, 12 Feb 2022 16:45:55 -0300 Subject: [PATCH] psql: Add tests for tab completion --- src/bin/psql/t/010_tab_completion.pl | 92 1 file changed, 92 insertions(+) diff --git a/src/bin/psql/t/010_tab_completion.pl b/src/bin/psql/t/010_tab_completion.pl index