Simplify version check for SKIP clause

Checking for the required versions of IO::Pty as well as IPC::Run
can be achieved with a single eval call, and by using the VERSION
function the comparison is guaranteed to follow the same rules as
calling 'use' on the module with a version.

Reported-by: Andrew Dunstan <[email protected]>
Discussion: 
https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6ff2e8cdd410f70057cfa6259ad395c1119aeb32

Modified Files
--------------
src/test/authentication/t/001_password.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Reply via email to