about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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')