diff options
author | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2020-12-15 14:44:21 -0500 |
---|---|---|
committer | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2020-12-15 14:44:21 -0500 |
commit | b3a3739eab13a076625ec5aaee7a8130f0c7a4c0 (patch) | |
tree | 7de4e814de3de5dd125d16324ff3082d4f3d4d94 /test | |
parent | 0ad6994a85c6dcd0db14af0224dab2675f3fc8c3 (diff) |
Do not show deleted files in recent file list.
Diffstat (limited to 'test')
-rw-r--r-- | test/test.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test.lua b/test/test.lua index 7463bfea..37f525b2 100644 --- a/test/test.lua +++ b/test/test.lua @@ -503,6 +503,10 @@ function test_file_io_open_recent_interactive() local filename = _HOME .. '/test/file_io/utf8' io.open_file(filename) buffer:close() + local tmpfile = os.tmpname() + io.open_file(tmpfile) + buffer:close() + os.remove(tmpfile) io.open_recent_file() assert_equal(buffer.filename, filename) buffer:close() |