diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-05-28 09:35:06 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-05-28 09:35:06 -0700 |
commit | cf94d36a5f63faaabb6244664915a480535a67c0 (patch) | |
tree | a378d21c142406953ae7c46129ebe67f5313b25b | |
parent | 95592b83fbb267d6a3e60bc8ccc77019e04aaa60 (diff) | |
download | text.love-cf94d36a5f63faaabb6244664915a480535a67c0.tar.gz |
.
-rw-r--r-- | text.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/text.lua b/text.lua index 95b7276..c0447de 100644 --- a/text.lua +++ b/text.lua @@ -541,8 +541,8 @@ function test_up_arrow_scrolls_up_by_one_screen_line() App.screen.check(y, 'mno', 'F - test_up_arrow_scrolls_up_by_one_screen_line/screen:3') check_eq(Screen_top1.line, 3, 'F - test_up_arrow_scrolls_up_by_one_screen_line/screen_top') check_eq(Screen_top1.pos, 1, 'F - test_up_arrow_scrolls_up_by_one_screen_line/screen_top') - check_eq(Cursor1.line, 3, 'F - test_up_arrow_scrolls_up_by_one_screen_line/cursor') - check_eq(Cursor1.pos, 1, 'F - test_up_arrow_scrolls_up_by_one_screen_line/cursor') + check_eq(Cursor1.line, 3, 'F - test_up_arrow_scrolls_up_by_one_screen_line/cursor:line') + check_eq(Cursor1.pos, 1, 'F - test_up_arrow_scrolls_up_by_one_screen_line/cursor:pos') end function test_up_arrow_scrolls_up_to_final_screen_line() @@ -574,8 +574,8 @@ function test_up_arrow_scrolls_up_to_final_screen_line() App.screen.check(y, 'jkl', 'F - test_up_arrow_scrolls_up_to_final_screen_line/screen:3') check_eq(Screen_top1.line, 1, 'F - test_up_arrow_scrolls_up_to_final_screen_line/screen_top') check_eq(Screen_top1.pos, 5, 'F - test_up_arrow_scrolls_up_to_final_screen_line/screen_top') - check_eq(Cursor1.line, 1, 'F - test_up_arrow_scrolls_up_to_final_screen_line/cursor') - check_eq(Cursor1.pos, 5, 'F - test_up_arrow_scrolls_up_to_final_screen_line/cursor') + check_eq(Cursor1.line, 1, 'F - test_up_arrow_scrolls_up_to_final_screen_line/cursor:line') + check_eq(Cursor1.pos, 5, 'F - test_up_arrow_scrolls_up_to_final_screen_line/cursor:pos') end function test_up_arrow_scrolls_up_to_empty_line() |