about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-09-15 23:02:11 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-09-15 23:02:11 -0700
commit6805143c42759efc1214580dcf05293f54f666cd (patch)
tree5b234f96afb166546575abc5f9658f08cec59029
parentb90a54a9cb7e2134d6d41112feaf67cb2f09c1be (diff)
downloadtext.love-6805143c42759efc1214580dcf05293f54f666cd.tar.gz
.
-rw-r--r--source_tests.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/source_tests.lua b/source_tests.lua
index 0f5135c..676b76c 100644
--- a/source_tests.lua
+++ b/source_tests.lua
@@ -7,7 +7,7 @@ function test_resize_window()
   check_eq(App.screen.width, 300, 'F - test_resize_window/baseline/width')
   check_eq(App.screen.height, 300, 'F - test_resize_window/baseline/height')
   check_eq(Editor_state.left, Test_margin_left, 'F - test_resize_window/baseline/left_margin')
-  check_eq(Editor_state.right, 300 - Test_margin_right, 'F - test_resize_window/baseline/left_margin')
+  check_eq(Editor_state.right, 300 - Test_margin_right, 'F - test_resize_window/baseline/right_margin')
   App.resize(200, 400)
   -- ugly; resize switches to real, non-test margins
   check_eq(App.screen.width, 200, 'F - test_resize_window/width')