diff options
author | w0rp <devw0rp@gmail.com> | 2017-11-15 17:21:17 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-11-15 17:21:17 +0000 |
commit | b14377915b9948454322cd95a86bcc298c03f77a (patch) | |
tree | fb67e7281a8778bd4a50676a2be7fb11fd846d54 /test/command_callback/test_xmllint_command_callback.vader | |
parent | e721f851b41b8f6f31067ae2a137019e1cb5546c (diff) | |
download | ale-b14377915b9948454322cd95a86bcc298c03f77a.zip |
Clean up tests to stop people copy and pasting the wrong examples
Diffstat (limited to 'test/command_callback/test_xmllint_command_callback.vader')
-rw-r--r-- | test/command_callback/test_xmllint_command_callback.vader | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/command_callback/test_xmllint_command_callback.vader b/test/command_callback/test_xmllint_command_callback.vader index 3cffde88..12ca15de 100644 --- a/test/command_callback/test_xmllint_command_callback.vader +++ b/test/command_callback/test_xmllint_command_callback.vader @@ -2,10 +2,11 @@ Before: runtime ale_linters/xml/xmllint.vim After: - call ale#linter#Reset() let g:ale_xml_xmllint_options = '' let g:ale_xml_xmllint_executable = 'xmllint' + call ale#linter#Reset() + Execute(The xml xmllint command callback should return the correct default string): AssertEqual ale#Escape('xmllint') . ' --noout -', \ join(split(ale_linters#xml#xmllint#GetCommand(1))) @@ -22,4 +23,3 @@ Execute(The xmllint executable should be configurable): AssertEqual '~/.local/bin/xmllint', ale_linters#xml#xmllint#GetExecutable(1) AssertEqual ale#Escape('~/.local/bin/xmllint') . ' --noout -', \ join(split(ale_linters#xml#xmllint#GetCommand(1))) - |