Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit90d7f66

Browse files
committed
Minor portability fixes for new TAP script.
Satisfy perlcritic, mostly. Per buildfarm.
1 parent44e44bd commit90d7f66

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/bin/psql/t/010_tab_completion.pl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use Test::More;
77
use IPC::Runqw(pump finish timer);
88

9-
if ($ENV{with_readline}ne'yes')
9+
if (!defined($ENV{with_readline}) ||$ENV{with_readline}ne'yes')
1010
{
1111
planskip_all=>'readline is not supported by this build';
1212
}
@@ -64,13 +64,15 @@ sub check_completion
6464
ok($okay,$annotation);
6565
# for debugging, log actual output if it didn't match
6666
note'Actual output was "' .$out ."\"\n"if !$okay;
67+
return;
6768
}
6869

6970
# Clear query buffer to start over
7071
# (won't work if we are inside a string literal!)
7172
subclear_query
7273
{
7374
check_completion("\\r\n","postgres=#","\\r works");
75+
return;
7476
}
7577

7678
# check basic command completion: SEL<tab> produces SELECT<space>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp