diff options
Diffstat (limited to 'test/command/auto-require.lua')
-rw-r--r-- | test/command/auto-require.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/command/auto-require.lua b/test/command/auto-require.lua index 38cc0012..c55fd334 100644 --- a/test/command/auto-require.lua +++ b/test/command/auto-require.lua @@ -19,12 +19,12 @@ end function TEST(text) return function (name) return function (expect) - files.setText('', text) + files.setText(TESTURI, text) EditResult = nil - local row, fmt = findInsertRow('') - applyAutoRequire('', row, name, name, fmt) + local row, fmt = findInsertRow(TESTURI) + applyAutoRequire(TESTURI, row, name, name, fmt) assert(util.equal(EditResult, expect)) - files.remove('') + files.remove(TESTURI) end end end |