diff tests/test-topic.t @ 6318:3e488afe62f5

topic: use compat.InputError for conflicting CLI flags
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 07 Apr 2022 20:02:45 +0300
parents caf302fb8f4d
children 8c664ed9c103
line wrap: on
line diff
--- a/tests/test-topic.t	Fri Oct 07 20:32:14 2022 -0400
+++ b/tests/test-topic.t	Thu Apr 07 20:02:45 2022 +0300
@@ -254,13 +254,13 @@
   [1]
   $ hg topics --current somerandomtopic
   abort: cannot use --current when setting a topic
-  [255]
+  [10]
   $ hg topics --current --clear
   abort: cannot use --current and --clear
-  [255]
+  [10]
   $ hg topics --clear somerandomtopic
   abort: cannot use --clear when setting a topic
-  [255]
+  [10]
 
 Trying some invalid topicnames
 
@@ -1154,7 +1154,7 @@
 
   $ hg topics --age random
   abort: cannot use --age while setting a topic
-  [255]
+  [10]
   $ cd ..
 
 Test that topics doesn't confuse branchheads checking logic