diff tests/test-narrow-trackedcmd.t @ 41027:74e023f5a922

narrow: replace "ui.warn(); return 1" by "raise error.Abort()" This is the usual way of doing it and I don't see a reason to do it differently here. Differential Revision: https://phab.mercurial-scm.org/D5468
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 23 Nov 2018 22:12:04 -0800
parents e8e2a7656e83
children ce0bc2952e2a
line wrap: on
line diff
--- a/tests/test-narrow-trackedcmd.t	Sun Dec 16 00:21:54 2018 -0500
+++ b/tests/test-narrow-trackedcmd.t	Fri Nov 23 22:12:04 2018 -0800
@@ -196,8 +196,8 @@
   X path:widest
 
   $ hg tracked --import-rules specs --clear
-  The --clear option is not yet supported.
-  [1]
+  abort: the --clear option is not yet supported
+  [255]
 
 Testing with passing a out of wdir file