X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=tests%2Fasync002.phpt;h=bd098630a310075d1d58a46af09059116f517603;hp=16de35a421dc7b79d119c2a86dadb55220119b84;hb=1e1d31873ad4283bd9acc3349107585f88161ea2;hpb=a009113642d9cb2d677e702b65f306fbb5993d41 diff --git a/tests/async002.phpt b/tests/async002.phpt index 16de35a..bd09863 100644 --- a/tests/async002.phpt +++ b/tests/async002.phpt @@ -40,13 +40,14 @@ function complete($c) { break 2; } } + $s[] = $c->status; printf("\n%s\n", implode(",", $s)); } complete($c); if ($c->status == pq\Connection::OK) { - $c->reset(); + $c->resetAsync(); complete($c); } ?> @@ -54,7 +55,7 @@ DONE --EXPECTREGEX-- Test (WP(RP)*)+S -3(,\d+),+4 +2(,\d)*,0 (WP(RP)*)+S -3(,\d+),+4 +2(,\d)*,0 DONE