Skip to content

Commit 6c647af

Browse files
committed
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 <[email protected]>
1 parent a5e10ac commit 6c647af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t0101-at-syntax.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ test_expect_success '@{now} shows current' '
2626
check_at @{now} two
2727
'
2828

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
3131
'
3232

3333
test_expect_success 'silly approxidates work' '

0 commit comments

Comments
 (0)