--- a/tests/test-log.t Mon Jun 11 17:41:55 2012 +0200
+++ b/tests/test-log.t Mon Jun 11 17:45:36 2012 +0200
@@ -539,22 +539,6 @@
date: Thu Jan 01 00:00:01 1970 +0000
summary: r1
-log -d " " (whitespaces only)
-
- $ hg log -d " "
- abort: dates cannot consist entirely of whitespace
- [255]
-
-log -d -1
-
- $ hg log -d -1
-
-Negative ranges
- $ hg log -d "--2"
- abort: -2 must be nonnegative (see 'hg help dates')
- [255]
-
-
log -p -l2 --color=always
$ hg --config extensions.color= --config color.mode=ansi \
--- a/tests/test-parse-date.t Mon Jun 11 17:41:55 2012 +0200
+++ b/tests/test-parse-date.t Mon Jun 11 17:45:36 2012 +0200
@@ -93,6 +93,22 @@
standard: Wed Feb 01 13:00:30 2006 +0000
$ hg debugdate "1:00:30PM" > /dev/null
+Normal range
+
+ $ hg log -d -1
+
+Negative range
+
+ $ hg log -d "--2"
+ abort: -2 must be nonnegative (see 'hg help dates')
+ [255]
+
+Whitespace only
+
+ $ hg log -d " "
+ abort: dates cannot consist entirely of whitespace
+ [255]
+
Test date formats with '>' or '<' accompanied by space characters
$ hg log -d '>' --template '{date|date}\n'