X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Flei-import-nntp.t;fp=t%2Flei-import-nntp.t;h=1fc6dbadfc90a546a1e95ad2f4857f87a6743cad;hb=2958cd17d58c79c952afae6cfd594595ffcaf4fa;hp=3fb78fbcb9d27c995f02f58b654ac40142f1428d;hpb=f4b80f19d30845d43c82e49fc071077582b17a74;p=public-inbox.git diff --git a/t/lei-import-nntp.t b/t/lei-import-nntp.t index 3fb78fbc..1fc6dbad 100644 --- a/t/lei-import-nntp.t +++ b/t/lei-import-nntp.t @@ -13,12 +13,12 @@ my $td = start_script($cmd, $env, { 3 => $sock }) or BAIL_OUT("-nntpd $?"); my $host_port = tcp_host_port($sock); undef $sock; test_lei({ tmpdir => $tmpdir }, sub { - lei_ok(qw(q bytes:1..)); + lei_ok(qw(q z:1..)); my $out = json_utf8->decode($lei_out); is_deeply($out, [ undef ], 'nothing imported, yet'); lei_ok('import', "nntp://$host_port/t.v2"); diag $lei_err; - lei_ok(qw(q bytes:1..)); + lei_ok(qw(q z:1..)); diag $lei_err; $out = json_utf8->decode($lei_out); ok(scalar(@$out) > 1, 'got imported messages');