about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-09-17 10:28:44 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-09-17 10:28:44 -0700
commit0f02efd8ccbfe3ea1b985f1bd2f1bf42f401374d (patch)
tree7f96ba4f409453f316a9bd7c487ea9f6ae41d924
parent6805143c42759efc1214580dcf05293f54f666cd (diff)
downloadview.love-0f02efd8ccbfe3ea1b985f1bd2f1bf42f401374d.tar.gz
.
-rw-r--r--source_tests.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/source_tests.lua b/source_tests.lua
index 676b76c..044ff47 100644
--- a/source_tests.lua
+++ b/source_tests.lua
@@ -21,6 +21,7 @@ end
 function test_show_log_browser_side()
   io.write('\ntest_show_log_browser_side')
   App.screen.init{width=300, height=300}
+  Current_app = 'source'
   Editor_state = edit.initialize_test_state()
   Editor_state.filename = 'foo'
   Text.redraw_all(Editor_state)
@@ -28,7 +29,7 @@ function test_show_log_browser_side()
   Text.redraw_all(Log_browser_state)
   log_browser.parse(Log_browser_state)
   check(not Show_log_browser_side, 'F - test_show_log_browser_side/baseline')
-  Current_app = 'source'
+  -- pressing ctrl+l shows log-browser side
   App.wait_fake_time(0.1)
   App.run_after_keychord('C-l')
   check(Show_log_browser_side, 'F - test_show_log_browser_side')