Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t0101: use a fixed timestamp when searching in the reflog
author
Junio C Hamano
<gitster@pobox.com>
Wed, 27 Jan 2010 18:54:22 +0000
(10:54 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 27 Jan 2010 18:54:30 +0000
(10:54 -0800)
That will give us a better reproducibility during tests.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0101-at-syntax.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
a5e10ac
)
diff --git
a/t/t0101-at-syntax.sh
b/t/t0101-at-syntax.sh
index ccabc37a125f22897b6d3a2bb17908ad5140c111..5e298c510259c54650cb0d0f3f3155ac48094ccb 100755
(executable)
--- 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' '