tests: remove a"| head -n 2" that just hides an error code
authorMartin von Zweigbergk <martinvonz@google.com>
Thu, 18 Oct 2018 21:59:24 -0700
changeset 4185 9bce7e6c18b3
parent 4184 b9e0cc531b2b
child 4186 11b12ea01d1e
tests: remove a"| head -n 2" that just hides an error code The output from core used to be longer and it made sense, but no longer does. CORE-TEST-OUTPUT-UPDATE: 5199c5b6fd29
tests/test-options.t
--- a/tests/test-options.t	Thu Oct 18 22:11:43 2018 -0700
+++ b/tests/test-options.t	Thu Oct 18 21:59:24 2018 -0700
@@ -24,6 +24,7 @@
   >   allowunstable
   >   exchange
   > EOF
-  $ hg prune | head -n 2
+  $ hg prune
   hg: unknown command 'prune'
   (use 'hg help' for a list of commands)
+  [255]