t0101: use a fixed timestamp when searching in the reflog
That will give us a better reproducibility during tests. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Jan 27, 2010 at 10:54 UTC
6c647af3060b8dd20da0e0b21dcd0eb95ec70841
1 file changed
+2
-2
t/t0101-at-syntax.sh
+2
-2
@@ -26,8 +26,8 @@ test_expect_success '@{now} shows current' '
26
check_at @{now} two
27
'
28
29
-test_expect_success '@{30.years.ago} shows old' '
30
- check_at @{30.years.ago} one
29
+test_expect_success '@{2001-09-17} (before the first commit) shows old' '
30
+ check_at @{2001-09-17} one
31
'
32
33
test_expect_success 'silly approxidates work' '