diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-01-27 21:54:22 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-27 21:54:30 +0300 |
commit | 6c647af3060b8dd20da0e0b21dcd0eb95ec70841 (patch) | |
tree | f09a042e242ac96c73c2645fc6e02c2bcf5bd1f3 /t | |
parent | a5e10acbb946305ca42f510cdb196d171020238e (diff) |
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>
Diffstat (limited to 't')
-rwxr-xr-x | t/t0101-at-syntax.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t0101-at-syntax.sh b/t/t0101-at-syntax.sh index ccabc37a12..5e298c5102 100755 --- a/t/t0101-at-syntax.sh +++ b/t/t0101-at-syntax.sh @@ -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' ' |