]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/git.t
git: unconditional expiry
[public-inbox.git] / t / git.t
diff --git a/t/git.t b/t/git.t
index 7edf82b44a6dd124cee85e89a1a5f219313a85dc..913f6e5e8928850e8f4c0ce1c2830db4200e0127 100644 (file)
--- a/t/git.t
+++ b/t/git.t
@@ -143,8 +143,7 @@ if ('alternates reloaded') {
        my $config = eval { local $/; <$fh> };
        is($$found, $config, 'alternates reloaded');
 
-       ok($gcf->cleanup(time - 30), 'cleanup did not expire');
-       ok(!$gcf->cleanup(time + 30), 'cleanup can expire');
+       ok(!$gcf->cleanup, 'cleanup can expire');
        ok(!$gcf->cleanup, 'cleanup idempotent');
 
        my $t = $gcf->modified;