From b14377915b9948454322cd95a86bcc298c03f77a Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 15 Nov 2017 17:21:17 +0000 Subject: Clean up tests to stop people copy and pasting the wrong examples --- test/command_callback/test_xmllint_command_callback.vader | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/command_callback/test_xmllint_command_callback.vader') 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))) - -- cgit v1.2.3