summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-01-27 10:54:22 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-01-27 10:54:30 -0800
commit6c647af3060b8dd20da0e0b21dcd0eb95ec70841 (patch)
treef09a042e242ac96c73c2645fc6e02c2bcf5bd1f3
parentUpdate @{bogus.timestamp} fix not to die() (diff)
downloadtgif-6c647af3060b8dd20da0e0b21dcd0eb95ec70841.tar.xz
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>
-rwxr-xr-xt/t0101-at-syntax.sh4
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' '