diff tests/test-commit.t @ 32448:f94d7e3e46a0

devel: activate default-date in tests It will make writing future tests more easier for everyone as we won't need to glob dates anymore in tests.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 22 May 2017 16:59:57 +0200
parents 5b630f2ccb4e
children bb18728ea617
line wrap: on
line diff
--- a/tests/test-commit.t	Fri May 19 12:18:25 2017 +0200
+++ b/tests/test-commit.t	Mon May 22 16:59:57 2017 +0200
@@ -120,7 +120,7 @@
 An empty date was interpreted as epoch origin
 
   $ echo foo >> foo
-  $ hg commit -d '' -m commit-no-date
+  $ hg commit -d '' -m commit-no-date --config devel.default-date=
   $ hg tip --template '{date|isodate}\n' | grep '1970'
   [1]