diff tests/test-basic.t @ 42435:9803323048b6

root: add support for -Tformatter option It's useless right now, but it should just work and I want to add a few more fields.
author Yuya Nishihara <yuya@tcha.org>
date Tue, 04 Jun 2019 20:58:39 +0900
parents 840cd57cde32
children 69883775b27d
line wrap: on
line diff
--- a/tests/test-basic.t	Thu May 23 03:03:36 2019 +0530
+++ b/tests/test-basic.t	Tue Jun 04 20:58:39 2019 +0900
@@ -98,6 +98,12 @@
   $TESTTMP/t
   $ hg log -l1 -T '{reporoot}\n'
   $TESTTMP/t
+  $ hg root -Tjson | sed 's|\\\\|\\|g'
+  [
+   {
+    "reporoot": "$TESTTMP/t"
+   }
+  ]
 
 At the end...