]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/lei-externals.t
search: use git approxidate in WWW and "lei q --stdin"
[public-inbox.git] / t / lei-externals.t
index 9fc8bae9c17cebadeed7bd359d92c60fc6790d4e..f61b7e52c95e4c1378b9d49c9ccbfed156cd0f37 100644 (file)
@@ -151,7 +151,7 @@ SKIP: {
        {
                open my $fh, '+>', undef or BAIL_OUT $!;
                $fh->autoflush(1);
-               print $fh 's:use' or BAIL_OUT $!;
+               print $fh 's:use d:..5.days.from.now' or BAIL_OUT $!;
                seek($fh, 0, SEEK_SET) or BAIL_OUT $!;
                ok($lei->([qw(q -q --stdin)], undef, { %$lei_opt, 0 => $fh }),
                                '--stdin on regular file works');