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-14 07:13:52 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-06-14 08:01:53 -0700
commit5b6171cf02e4dce0d872cba768daf85a1a24dd5f (patch)
treeb803ecc215c4d0a858b2bd2c2c8efd33d3c2aac1 /text_tests.lua
parent26640c9101c68f504a552e131e35dd9063172c45 (diff)
downloadtext.love-5b6171cf02e4dce0d872cba768daf85a1a24dd5f.tar.gz
.
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 440cec7..93e953c 100644
--- a/text_tests.lua
+++ b/text_tests.lua
@@ -24,7 +24,7 @@ function test_press_ctrl()
 end
 
 function test_click_with_mouse()
-  io.write('\ntest_click')
+  io.write('\ntest_click_with_mouse')
   -- display two lines with cursor on one of them
   App.screen.init{width=50, height=80}
   Lines = load_array{'abc', 'def'}
@@ -37,7 +37,7 @@ function test_click_with_mouse()
   App.draw()
   App.run_after_mouse_click(screen_left_margin+8,Margin_top+5, '1')
   -- cursor moves
-  check_eq(Cursor1.line, 1, 'F - test_click/cursor')
+  check_eq(Cursor1.line, 1, 'F - test_click_with_mouse/cursor')
 end
 
 function test_draw_text()