summaryrefslogtreecommitdiff
path: root/test/test_lint_on_enter_when_file_changed.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-08-01 00:03:24 +0100
committerw0rp <devw0rp@gmail.com>2017-08-01 00:03:24 +0100
commita4ffd2f37c5d535d62170f7e3021cd2981689988 (patch)
tree3216004415ad5d39a42e105c6969fc59dfdea031 /test/test_lint_on_enter_when_file_changed.vader
parentec82530247547a696f888cdefd4aeec5cf3d40cf (diff)
downloadale-a4ffd2f37c5d535d62170f7e3021cd2981689988.zip
#734 - Use the buffer number from the events for entering buffers and saving buffers for checking buffers
Diffstat (limited to 'test/test_lint_on_enter_when_file_changed.vader')
-rw-r--r--test/test_lint_on_enter_when_file_changed.vader2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_lint_on_enter_when_file_changed.vader b/test/test_lint_on_enter_when_file_changed.vader
index cfa53878..4d4f19cc 100644
--- a/test/test_lint_on_enter_when_file_changed.vader
+++ b/test/test_lint_on_enter_when_file_changed.vader
@@ -64,7 +64,7 @@ Execute(The buffer should be checked after entering it after the file has change
let b:ale_file_changed = 1
set filetype=foobar
- call ale#events#EnterEvent()
+ call ale#events#EnterEvent(bufnr(''))
AssertEqual [{
\ 'bufnr': bufnr(''),