diff tests/test-topic.t @ 5333:028e4ea75456

topic: support foo#stack syntax
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 19 May 2020 12:25:14 +0800
parents 19b8ffd23795
children 5a70669beaa3
line wrap: on
line diff
--- a/tests/test-topic.t	Tue May 19 12:23:29 2020 +0800
+++ b/tests/test-topic.t	Tue May 19 12:25:14 2020 +0800
@@ -910,6 +910,10 @@
     ^ 3
   s1: 0
 
+  $ tlog 'tip#s'
+  0: 
+  4: 
+
   $ tlog 'tip#stack[0]'
   $ tlog 'tip#stack[1]'
   0: 
@@ -928,6 +932,11 @@
   s1: 1
   s0^ 0 (base)
 
+  $ tlog 'featureA#s'
+  1: featureA
+  2: featureA
+  3: featureA
+
   $ tlog 'featureA#s[0]'
   0: 
   $ tlog 'featureA#s[0:0]'
@@ -978,6 +987,7 @@
   ### target: default (branch)
   (stack is empty)
   s0^ 4 (base current)
+  $ tlog 'wdir()#s'
   $ tlog 'wdir()#s[0]'
   4: