tests/test-command-template.t
branchstable
changeset 30237 94ef2f00b8a4
parent 30232 362740e05460
child 30732 d4ec69ff652a
--- a/tests/test-command-template.t	Sat Oct 29 03:08:08 2016 +0900
+++ b/tests/test-command-template.t	Sun Oct 30 06:15:07 2016 +0900
@@ -31,10 +31,10 @@
 
 Test arithmetic operators have the right precedence:
 
-  $ hg log -l 1 -T '{date(date, "%s") + 5 * 10} {date(date, "%s") - 2 * 3}\n'
-  1500051 1499995
-  $ hg log -l 1 -T '{date(date, "%s") * 5 + 10} {date(date, "%s") * 3 - 2}\n'
-  7500015 4500001
+  $ hg log -l 1 -T '{date(date, "%Y") + 5 * 10} {date(date, "%Y") - 2 * 3}\n'
+  2020 1964
+  $ hg log -l 1 -T '{date(date, "%Y") * 5 + 10} {date(date, "%Y") * 3 - 2}\n'
+  9860 5908
 
 Test division: