Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
svaante committed Dec 28, 2023
1 parent 999c410 commit 0e0cc6c
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions dape-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -544,21 +544,24 @@ Expects line with string \"breakpoint\" in source."
(eq dape--state 'stopped))
(with-current-buffer main-buffer
(dape-test--should
(= (line-number-at-pos)
(dape-test--line-at-regex "breakpoint"))))
(and (= (line-number-at-pos)
(dape-test--line-at-regex "breakpoint"))
(eq dape--state 'stopped))))
(pop-to-buffer "*dape-repl*")
(insert "next")
(comint-send-input)
(with-current-buffer main-buffer
(dape-test--should
(= (line-number-at-pos)
(dape-test--line-at-regex "second line"))))
(and (= (line-number-at-pos)
(dape-test--line-at-regex "second line"))
(eq dape--state 'stopped))))
(insert "next")
(comint-send-input)
(with-current-buffer main-buffer
(dape-test--should
(= (line-number-at-pos)
(dape-test--line-at-regex "third line"))))
(and (= (line-number-at-pos)
(dape-test--line-at-regex "third line"))
(eq dape--state 'stopped))))
(insert "a = 99")
(comint-send-input)
(with-current-buffer (dape-test--should
Expand Down

0 comments on commit 0e0cc6c

Please sign in to comment.