about summary refs log tree commit diff stats
path: root/text_tests.lua
diff options
context:
space:
mode:
Diffstat (limited to 'text_tests.lua')
-rw-r--r--text_tests.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/text_tests.lua b/text_tests.lua
index 93881ea..4221aa6 100644
--- a/text_tests.lua
+++ b/text_tests.lua
@@ -1335,6 +1335,7 @@ function test_undo_restores_selection()
   check_nil(Selection1.line, 'F - test_undo_restores_selection/baseline:selection')
   -- undo
   App.run_after_keychord('C-z')
+  App.run_after_keychord('C-z')
   -- selection is restored
   check_eq(Selection1.line, 1, 'F - test_undo_restores_selection/line')
   check_eq(Selection1.pos, 2, 'F - test_undo_restores_selection/pos')