diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-11-03 21:08:11 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-11-03 21:08:11 -0700 |
commit | fd71bc7d945d991b00369eba716f1313d5806ac3 (patch) | |
tree | 1bf4cf9285ed469fd8c13106158de1e4aca00838 /source_tests.lua | |
parent | a68647ae223357455274d163eb927528399df05e (diff) | |
parent | 0e0f36f8b4a57bd9a13925c9f7e92f7bd8c59a81 (diff) | |
download | text.love-fd71bc7d945d991b00369eba716f1313d5806ac3.tar.gz |
Merge lines.love
Diffstat (limited to 'source_tests.lua')
-rw-r--r-- | source_tests.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source_tests.lua b/source_tests.lua index 81bdb74..b6e5861 100644 --- a/source_tests.lua +++ b/source_tests.lua @@ -31,7 +31,7 @@ function test_show_log_browser_side() log_browser.parse(Log_browser_state) check(not Show_log_browser_side, 'F - test_show_log_browser_side/baseline') -- pressing ctrl+l shows log-browser side - App.wait_fake_time(0.1) + Current_time = Current_time + 0.1 App.run_after_keychord('C-l') check(Show_log_browser_side, 'F - test_show_log_browser_side') end @@ -56,7 +56,7 @@ function test_show_log_browser_side_doubles_window_width_if_possible() Text.redraw_all(Log_browser_state) log_browser.parse(Log_browser_state) -- display log browser - App.wait_fake_time(0.1) + Current_time = Current_time + 0.1 App.run_after_keychord('C-l') -- window width is doubled check_eq(App.screen.width, 600, 'F - test_show_log_browser_side_doubles_window_width_if_possible/display:width') @@ -87,7 +87,7 @@ function test_show_log_browser_side_resizes_both_sides_if_cannot_double_window_w Text.redraw_all(Log_browser_state) log_browser.parse(Log_browser_state) -- display log browser - App.wait_fake_time(0.1) + Current_time = Current_time + 0.1 App.run_after_keychord('C-l') -- margins are now adjusted check_eq(Editor_state.left, Margin_left, 'F - test_show_log_browser_side_resizes_both_sides_if_cannot_double_window_width/edit:left') |