about summary refs log tree commit diff stats
path: root/source_tests.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2024-02-04 09:30:48 -0800
committerKartik K. Agaram <vc@akkartik.com>2024-02-04 09:30:48 -0800
commit1d1a829d5b1f89220ebb261d8d01f34652fcd7b2 (patch)
treee2bf48f385d4ee56a84d61f66dfbd8ef94536076 /source_tests.lua
parent95d88a8298142a996bf828734f7e986d2f99f9ab (diff)
downloadlines.love-1d1a829d5b1f89220ebb261d8d01f34652fcd7b2.tar.gz
more carefully pass the 'key' arg around
Diffstat (limited to 'source_tests.lua')
-rw-r--r--source_tests.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/source_tests.lua b/source_tests.lua
index e3264bb..f406c0b 100644
--- a/source_tests.lua
+++ b/source_tests.lua
@@ -29,7 +29,7 @@ function test_show_log_browser_side()
   check(not Show_log_browser_side, 'baseline')
   -- pressing ctrl+l shows log-browser side
   Current_time = Current_time + 0.1
-  App.run_after_keychord('C-l')
+  App.run_after_keychord('C-l', 'l')
   check(Show_log_browser_side, 'check')
 end
 
@@ -51,7 +51,7 @@ function test_show_log_browser_side_splits_window_width()
   log_browser.parse(Log_browser_state)
   -- display log browser
   Current_time = Current_time + 0.1
-  App.run_after_keychord('C-l')
+  App.run_after_keychord('C-l', 'l')
   -- margins are now adjusted
   check_eq(Editor_state.left, Margin_left, 'edit:left')
   check_eq(Editor_state.right, App.screen.width/2 - Margin_right, 'edit:right')