Skip to content

Commit

Permalink
Run eval otherwise test does not pass.
Browse files Browse the repository at this point in the history
  • Loading branch information
rainerborene committed Oct 27, 2014
1 parent 741fe6d commit 9f1dc22
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -2,7 +2,7 @@

local helpers = require('test.functional.helpers')
local clear, execute, eq = helpers.clear, helpers.execute, helpers.eq
local curbuf_contents = helpers.curbuf_contents
local curbuf_contents, eval = helpers.curbuf_contents, helpers.eval

describe('BufLeave <buffer>', function()
setup(clear)
Expand All @@ -24,6 +24,9 @@ describe('BufLeave <buffer>', function()
execute('e somefile')
execute('e xx')

-- TODO(@tarruda): test doesn't pass if I remove the following line:
eval('1')

eq('buffer-local autocommand', curbuf_contents())

os.remove('xx')
Expand Down

0 comments on commit 9f1dc22

Please sign in to comment.