mirror of
https://github.com/git/git.git
synced 2024-11-28 04:23:30 +08:00
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>
This commit is contained in:
parent
a5e10acbb9
commit
6c647af306
@ -26,8 +26,8 @@ test_expect_success '@{now} shows current' '
|
||||
check_at @{now} two
|
||||
'
|
||||
|
||||
test_expect_success '@{30.years.ago} shows old' '
|
||||
check_at @{30.years.ago} one
|
||||
test_expect_success '@{2001-09-17} (before the first commit) shows old' '
|
||||
check_at @{2001-09-17} one
|
||||
'
|
||||
|
||||
test_expect_success 'silly approxidates work' '
|
||||
|
Loading…
Reference in New Issue
Block a user