diff tests/test-topic.t @ 2995:dbc896a7a1c3

topics: make sure user don't pass both the age option and a topic name
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 25 Sep 2017 03:30:56 +0530
parents 1e8ac0fcd6b7
children a61634f52742
line wrap: on
line diff
--- a/tests/test-topic.t	Mon Sep 25 03:29:45 2017 +0530
+++ b/tests/test-topic.t	Mon Sep 25 03:30:56 2017 +0530
@@ -999,4 +999,7 @@
      topic1990 (1990-01-01 by foo)
    * topic1970 (1970-01-01 by test)
 
+  $ hg topics --age random
+  abort: cannot use --age while setting a topic
+  [255]
   $ cd ..