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

Commitc1a9542

Browse files
committed
Fix improper example of using psql() function in TAP tests documentation.
In an example of TAP test scripts, there is the test checking whetherthe result of the query is expected or not. But, in previous example,the exit code of psql instead of the query result was checked unexpectedly.Author: Ildar Musin
1 parent43c2c40 commitc1a9542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/perl/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ against them and evaluate the results. For example:
4141
$node->init;
4242
$node->start;
4343

44-
my $ret = $node->psql('postgres', 'SELECT 1');
44+
my $ret = $node->safe_psql('postgres', 'SELECT 1');
4545
is($ret, '1', 'SELECT 1 returns 1');
4646

4747
$node->stop('fast');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp