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
--- 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