summaryrefslogtreecommitdiff
path: root/test/basic
diff options
context:
space:
mode:
Diffstat (limited to 'test/basic')
-rw-r--r--test/basic/textmerger.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/basic/textmerger.lua b/test/basic/textmerger.lua
index a3a11f62..1ffd36f0 100644
--- a/test/basic/textmerger.lua
+++ b/test/basic/textmerger.lua
@@ -1,12 +1,9 @@
-local files = require 'files'
local tm = require 'text-merger'
local function TEST(source)
return function (expect)
return function (changes)
- files.removeAll()
- files.setText('', source)
- local text = tm('', changes)
+ local text = tm(source, nil, changes)
assert(text == expect)
end
end