aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/test.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test.lua b/test/test.lua
index a45ae8c9..ca770ee6 100644
--- a/test/test.lua
+++ b/test/test.lua
@@ -4268,6 +4268,10 @@ function test_debugger_ansi_c()
assert_equal(buffer:line_from_position(buffer.current_pos), 3)
run_and_wait(debugger.set_frame, 2)
assert_equal(buffer:line_from_position(buffer.current_pos), 10)
+ textadept.history.back()
+ assert_equal(buffer:line_from_position(buffer.current_pos), 3)
+ textadept.history.forward()
+ assert_equal(buffer:line_from_position(buffer.current_pos), 10)
run_and_wait(debugger.set_frame, 1)
assert_equal(buffer:line_from_position(buffer.current_pos), 3)
buffer:search_anchor()