diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-07-12 16:30:41 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-07-12 16:30:41 -0700 |
commit | b7000215d8921490cb08ed64439a02e9f69770b5 (patch) | |
tree | eadb4e2ba35d5448dda7fc31ddf98e1d069f3d0c /main_tests.lua | |
parent | e990b1be924126080404859d41c8b0e4f638951b (diff) | |
download | lines.love-b7000215d8921490cb08ed64439a02e9f69770b5.tar.gz |
add state arg to schedule_save
Diffstat (limited to 'main_tests.lua')
-rw-r--r-- | main_tests.lua | 2 |
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 = { |