about summary refs log tree commit diff stats
path: root/main_tests.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-07-12 16:30:41 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-07-12 16:30:41 -0700
commitb7000215d8921490cb08ed64439a02e9f69770b5 (patch)
treeeadb4e2ba35d5448dda7fc31ddf98e1d069f3d0c /main_tests.lua
parente990b1be924126080404859d41c8b0e4f638951b (diff)
downloadlines.love-b7000215d8921490cb08ed64439a02e9f69770b5.tar.gz
add state arg to schedule_save
Diffstat (limited to 'main_tests.lua')
-rw-r--r--main_tests.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/main_tests.lua b/main_tests.lua
index 7b5c4e8..114f3c6 100644
--- a/main_tests.lua
+++ b/main_tests.lua
@@ -43,7 +43,7 @@ function test_drop_file_saves_previous()
   -- initially editing a file called foo that hasn't been saved to filesystem yet
   Editor_state.lines = load_array{'abc', 'def'}
   Editor_state.filename = 'foo'
-  schedule_save()
+  schedule_save(Editor_state)
   -- now drag a new file bar from the filesystem
   App.filesystem['bar'] = 'abc\ndef\nghi\n'
   local fake_dropped_file = {