diff options
Diffstat (limited to 'test/functional/legacy/011_autocommands_spec.lua')
-rw-r--r-- | test/functional/legacy/011_autocommands_spec.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/functional/legacy/011_autocommands_spec.lua b/test/functional/legacy/011_autocommands_spec.lua index 483e465cee..ba899f8119 100644 --- a/test/functional/legacy/011_autocommands_spec.lua +++ b/test/functional/legacy/011_autocommands_spec.lua @@ -12,11 +12,14 @@ -- Use a FileChangedShell autocommand to avoid a prompt for "Xtestfile.gz" -- being modified outside of Vim (noticed on Solaris). -local helpers, lfs = require('test.functional.helpers'), require('lfs') +local helpers= require('test.functional.helpers')(after_each) +local lfs = require('lfs') local clear, execute, expect, eq, neq, dedent, write_file, feed = helpers.clear, helpers.execute, helpers.expect, helpers.eq, helpers.neq, helpers.dedent, helpers.write_file, helpers.feed +if helpers.pending_win32(pending) then return end + local function has_gzip() return os.execute('gzip --help >/dev/null 2>&1') == 0 end |