diff options
author | w0rp <devw0rp@gmail.com> | 2017-02-09 23:32:57 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-02-09 23:32:57 +0000 |
commit | 5de445c041432b602c590a175809d89837cdf2b8 (patch) | |
tree | a8d281f1bffcd999d876cd500c67687e228c5300 /test/test_linter_retrieval.vader | |
parent | 9f8c76b5b939c3a73937069dc1c29efeb2eae49f (diff) | |
download | ale-5de445c041432b602c590a175809d89837cdf2b8.zip |
Fix #315 Implement the read_buffer option
Diffstat (limited to 'test/test_linter_retrieval.vader')
-rw-r--r-- | test/test_linter_retrieval.vader | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_linter_retrieval.vader b/test/test_linter_retrieval.vader index 5dadf6bc..bc5b62ef 100644 --- a/test/test_linter_retrieval.vader +++ b/test/test_linter_retrieval.vader @@ -1,6 +1,6 @@ Before: - let g:testlinter1 = {'name': 'testlinter1', 'executable': 'testlinter1', 'command': 'testlinter1', 'callback': 'testCB1', 'output_stream': 'stdout'} - let g:testlinter2 = {'name': 'testlinter2', 'executable': 'testlinter2', 'command': 'testlinter2', 'callback': 'testCB2', 'output_stream': 'stdout'} + let g:testlinter1 = {'name': 'testlinter1', 'executable': 'testlinter1', 'command': 'testlinter1', 'callback': 'testCB1', 'output_stream': 'stdout', 'read_buffer': 1} + let g:testlinter2 = {'name': 'testlinter2', 'executable': 'testlinter2', 'command': 'testlinter2', 'callback': 'testCB2', 'output_stream': 'stdout', 'read_buffer': 0} call ale#linter#Reset() let g:ale_linters = {} @@ -40,4 +40,4 @@ Then (Linters for dot-seperated filetypes should be properly handled): AssertEqual [g:testlinter1, g:testlinter2], ale#linter#Get('testft1.testft2') Execute (Try to load a linter from disk): - AssertEqual [{'name': 'testlinter', 'output_stream': 'stdout', 'executable': 'testlinter', 'command': 'testlinter', 'callback': 'testCB'}], ale#linter#Get('testft') + AssertEqual [{'name': 'testlinter', 'output_stream': 'stdout', 'executable': 'testlinter', 'command': 'testlinter', 'callback': 'testCB', 'read_buffer': 1}], ale#linter#Get('testft') |