Improve coverage of psql for backslash commands with \if and \elif
Michael Paquier <michael@paquier.xyz>
Improve coverage of psql for backslash commands with \if and \elif This adds tests to cover more code paths to ignore backslash commands in false branches when using \if|\elif|\else, and improves the coverage of \elif. Author: Fabien Coelho Discussion: https://postgr.es/m/alpine.DEB.2.21.1908281618520.28828@lancre
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/psql.out | modified | +56 −7 |
| src/test/regress/sql/psql.sql | modified | +55 −7 |
Discussion
- psql - improve test coverage from 41% to 88% 26 messages · 2019-08-28 → 2020-08-03