about summary refs log tree commit diff stats
path: root/text_tests.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-06-05 07:59:44 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-06-05 07:59:44 -0700
commit8c0f54ee647bd454470d0f0149210e0124b7ffb2 (patch)
tree9ce00db32bce9c1f49f92c5d898ea2da84a76f21 /text_tests.lua
parent6267ddd2eb2f3e1def0555e4968681a1c094f0a0 (diff)
downloadlines.love-8c0f54ee647bd454470d0f0149210e0124b7ffb2.tar.gz
some typos
Diffstat (limited to 'text_tests.lua')
-rw-r--r--text_tests.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/text_tests.lua b/text_tests.lua
index f3a2a6a..6982c04 100644
--- a/text_tests.lua
+++ b/text_tests.lua
@@ -94,7 +94,7 @@ end
 
 function test_insert_newline()
   io.write('\ntest_insert_newline')
-  -- display a few lines with cursor on bottom line
+  -- display a few lines
   App.screen.init{width=25+30, height=60}
   Lines = load_array{'abc', 'def', 'ghi', 'jkl'}
   Line_width = App.screen.width
@@ -108,7 +108,7 @@ function test_insert_newline()
   App.screen.check(y, 'def', 'F - test_insert_newline/baseline/screen:2')
   y = y + Line_height
   App.screen.check(y, 'ghi', 'F - test_insert_newline/baseline/screen:3')
-  -- after hitting the enter key the screen scrolls down
+  -- hitting the enter key splits the line
   App.run_after_keychord('return')
   check_eq(Screen_top1.line, 1, 'F - test_insert_newline/screen_top')
   check_eq(Cursor1.line, 2, 'F - test_insert_newline/cursor:line')