Skip to content

Commit

Permalink
Reset some options before each test.
Browse files Browse the repository at this point in the history
  • Loading branch information
rainerborene committed Oct 27, 2014
1 parent fe0533a commit 0c1a46c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/functional/helpers.lua
Expand Up @@ -207,7 +207,11 @@ rawfeed([[:function BeforeEachTest()
redir END
for fname in split(funcs, '\n')
let matches = matchlist(fname, '\v^function ([^()<>]+)')
execute 'silent! delfunc '.matches[1]
exe 'silent! delfunc '.matches[1]
endfor
let options = ['shell', 'fileignorecase']
for option in options
exe 'set '.option.'&'
endfor
endfunction
]])
Expand Down

0 comments on commit 0c1a46c

Please sign in to comment.