enforcesinglehead-test: add the expected node output next to the error
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 03 May 2021 02:33:00 +0200
changeset 47039 54589bb9604d
parent 47038 724db234b790
child 47041 a407fe56d6e8
enforcesinglehead-test: add the expected node output next to the error this make it simpler to validate that the test is correct. Differential Revision: https://phab.mercurial-scm.org/D10545
tests/test-single-head.t
--- a/tests/test-single-head.t	Thu Apr 08 00:34:16 2021 +0200
+++ b/tests/test-single-head.t	Mon May 03 02:33:00 2021 +0200
@@ -65,6 +65,9 @@
   1 files updated, 0 files merged, 1 files removed, 0 files unresolved
   $ mkcommit c_dD0
   created new head
+  $ hg log -r 'heads(::branch("default"))' -T '{node|short}\n'
+  286d02a6e2a2
+  9bf953aa81f6
   $ hg push -f
   pushing to $TESTTMP/single-head-server
   searching for changes