From f947811f49204cb1ddd3013bb094f7b5222547cc Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 9 Dec 2014 12:18:16 +0000 Subject: [PATCH] Expect 21st access to have value 21, not 20! --- t/02-IndexData-Utils-PersistentCounter.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/02-IndexData-Utils-PersistentCounter.t b/t/02-IndexData-Utils-PersistentCounter.t index aa05060..8b57c30 100644 --- a/t/02-IndexData-Utils-PersistentCounter.t +++ b/t/02-IndexData-Utils-PersistentCounter.t @@ -41,7 +41,7 @@ while ((my $pid = wait()) > 0) { } my $n = $counter->next(); -ok($n == 20, "n == 20 after 20 accesses (n=$n)"); +ok($n == 21, "n == 21 on 21 total access (n=$n)"); my $ok = $counter->delete(); ok($ok, "deleted counter file"); -- 1.7.10.4