Add prevfile module and test file
This commit is contained in:
parent
764abce422
commit
877ae6e460
|
@ -0,0 +1,9 @@
|
|||
describe("prevfile", function()
|
||||
local prevfile = require "prevfile"
|
||||
|
||||
it("returns nil when target directory is empty", function()
|
||||
previous = prevfile.prevfile("dummy/")
|
||||
|
||||
assert.are.equals(nil, previous)
|
||||
end)
|
||||
end)
|
|
@ -0,0 +1,7 @@
|
|||
local prevfile = {}
|
||||
|
||||
function prevfile.prevfile(target_directory)
|
||||
return nil
|
||||
end
|
||||
|
||||
return prevfile
|
Loading…
Reference in New Issue