branch: externals/dape
commit a9bf37fb6c3a0baac7ff74c9d87392e8cde2770d
Author: Daniel Pettersson <[email protected]>
Commit: Daniel Pettersson <[email protected]>
Fix test according to remove stack index
---
dape-tests.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dape-tests.el b/dape-tests.el
index d4f08c4adb..1948f6cea1 100644
--- a/dape-tests.el
+++ b/dape-tests.el
@@ -412,18 +412,18 @@ Expects line with string \"breakpoint\" in source."
(dape--info-get-live-buffer 'dape-info-stack-mode))
;; buffer contents
(dape-test--should
- (and (dape-test--line-at-regex "^1 in b")
- (dape-test--line-at-regex "^2 in a")
+ (and (dape-test--line-at-regex "^in b")
+ (dape-test--line-at-regex "^in a")
(member 'dape--info-stack-position
overlay-arrow-variable-list)
(= (marker-position dape--info-stack-position) 1)))
;; select stack frame
- (dape-test--apply-to-match "^2 in a" 'dape-info-stack-select)
+ (dape-test--apply-to-match "^in a" 'dape-info-stack-select)
;; buffer contents
(dape-test--should
(and (= (marker-position dape--info-stack-position)
(save-excursion
- (dape-test--goto-line (dape-test--line-at-regex "^2 in a"))
+ (dape-test--goto-line (dape-test--line-at-regex "^in a"))
(point))))))
;; scope buffer should update to new stack
(with-current-buffer