test: add testing of stack output in 'stack-data' test.
We are going to display common information, so we reuse test case.
--- a/tests/test-topic-stack-data.t Fri Aug 26 14:58:49 2016 +0200
+++ b/tests/test-topic-stack-data.t Fri Aug 26 14:58:18 2016 +0200
@@ -235,3 +235,28 @@
"troubledcount": 2
}
]
+
+Also test this situation with 'hg stack'
+=======================================
+
+ $ hg stack bar
+ t5: add bar_c
+ t2^ add bar_b (base)
+ t4$ add bar_e (unstable)
+ t3: bar1_d
+ t2: add bar_b
+ t1: add bar_a
+ ^ add base_e
+ $ hg stack baz
+ t2: add baz_b
+ t1: add baz_a
+ ^ add base_c
+ $ hg stack foo
+ t2@ add foo_b (current)
+ t1: add foo_a
+ ^ add lake_a
+ $ hg stack fuz
+ t3$ add fuz_c (unstable)
+ t2$ add fuz_b (unstable)
+ t1: fuz1_a
+ ^ add base_d