about summary refs log tree commit homepage
path: root/t/git.t
diff options
context:
space:
mode:
Diffstat (limited to 't/git.t')
-rw-r--r--t/git.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/git.t b/t/git.t
index 7edf82b4..913f6e5e 100644
--- 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;