From b3a3739eab13a076625ec5aaee7a8130f0c7a4c0 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Tue, 15 Dec 2020 14:44:21 -0500 Subject: Do not show deleted files in recent file list. --- test/test.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') 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() -- cgit v1.2.3