diff options
-rw-r--r-- | source_tests.lua | 3 |
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') |