From 98fa46bf990352a3451a6a82489dcc61caf6c6a5 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 30 Jun 2022 17:44:23 -0700 Subject: some redundant calls --- text_tests.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'text_tests.lua') diff --git a/text_tests.lua b/text_tests.lua index af36c82..2a6c45d 100644 --- a/text_tests.lua +++ b/text_tests.lua @@ -178,7 +178,6 @@ function test_click_on_wrapping_line() App.screen.check(y, "I'm ada", 'F - test_click_on_wrapping_line/baseline/screen:2') y = y + Line_height -- click past end of second screen line - App.draw() App.run_after_mouse_click(App.screen.width-2,y-2, 1) -- cursor moves to end of screen line check_eq(Cursor1.line, 1, 'F - test_click_on_wrapping_line/cursor:line') @@ -204,7 +203,6 @@ function test_click_past_end_of_wrapping_line() App.screen.check(y, 'm', 'F - test_click_past_end_of_wrapping_line/baseline/screen:3') y = y + Line_height -- click past the end of it - App.draw() App.run_after_mouse_click(App.screen.width-2,y-2, 1) -- cursor moves to end of line check_eq(Cursor1.pos, 15, 'F - test_click_past_end_of_wrapping_line/cursor') -- one more than the number of UTF-8 code-points @@ -229,7 +227,6 @@ function test_click_on_wrapping_line_containing_non_ascii() App.screen.check(y, 'm', 'F - test_click_on_wrapping_line_containing_non_ascii/baseline/screen:3') y = y + Line_height -- click past the end of it - App.draw() App.run_after_mouse_click(App.screen.width-2,y-2, 1) -- cursor moves to end of line check_eq(Cursor1.pos, 15, 'F - test_click_on_wrapping_line_containing_non_ascii/cursor') -- one more than the number of UTF-8 code-points @@ -251,7 +248,6 @@ function test_click_past_end_of_word_wrapping_line() App.screen.check(y, 'the quick brown fox ', 'F - test_click_past_end_of_word_wrapping_line/baseline/screen:1') y = y + Line_height -- click past the end of the screen line but within Line_width - App.draw() App.run_after_mouse_click(Line_width-2,y-2, 1) -- cursor moves to end of screen line check_eq(Cursor1.pos, 20, 'F - test_click_past_end_of_word_wrapping_line/cursor') -- cgit 1.4.1-2-gfad0