diff tests/test-log.t @ 13780:bc7b5d1c1999

util: dates cannot consist entirely of whitespace (issue2732)
author Idan Kamara <idankk86@gmail.com>
date Sun, 27 Mar 2011 23:48:58 +0200
parents 7916a84c0758
children 28f557e8b419
line wrap: on
line diff
--- a/tests/test-log.t	Fri Mar 25 15:49:43 2011 -0400
+++ b/tests/test-log.t	Sun Mar 27 23:48:58 2011 +0200
@@ -512,7 +512,11 @@
   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