diff -r bc36a608e9e4 -r 42abd3bd30ee tests/test-topic-stack.t --- a/tests/test-topic-stack.t Mon Jun 19 02:50:35 2017 +0530 +++ b/tests/test-topic-stack.t Mon Jun 19 03:13:35 2017 +0530 @@ -319,3 +319,11 @@ t2@ c_D (current) t1: c_c ^ c_b + +Trying to list non existing topic + $ hg stack thisdoesnotexist + abort: cannot resolve "thisdoesnotexist": no such topic found + [255] + $ hg topic --list thisdoesnotexist + abort: cannot resolve "thisdoesnotexist": no such topic found + [255]