Skip to content

Commit

Permalink
t0101: use a fixed timestamp when searching in the reflog
Browse files Browse the repository at this point in the history
That will give us a better reproducibility during tests.

Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
gitster committed Jan 27, 2010
1 parent a5e10ac commit 6c647af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/t0101-at-syntax.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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' '
Expand Down

0 comments on commit 6c647af

Please sign in to comment.