summaryrefslogtreecommitdiff
path: root/t/t0101-at-syntax.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-27 18:54:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-01-27 18:54:30 (GMT)
commit6c647af3060b8dd20da0e0b21dcd0eb95ec70841 (patch)
treef09a042e242ac96c73c2645fc6e02c2bcf5bd1f3 /t/t0101-at-syntax.sh
parenta5e10acbb946305ca42f510cdb196d171020238e (diff)
downloadgit-6c647af3060b8dd20da0e0b21dcd0eb95ec70841.zip
git-6c647af3060b8dd20da0e0b21dcd0eb95ec70841.tar.gz
git-6c647af3060b8dd20da0e0b21dcd0eb95ec70841.tar.bz2
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/t0101-at-syntax.sh')
-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 ccabc37..5e298c5 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' '