diff options
author | w0rp <devw0rp@gmail.com> | 2021-03-20 22:11:22 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2021-03-20 22:11:42 +0000 |
commit | b1d833417bcb57e265e0d01df07b28f463529d4b (patch) | |
tree | 11421aeca89127b0cc9417f8ff4cb0d725199f49 /test/command_callback/test_htmlhint_command_callback.vader | |
parent | 3838ae118d8f05fa1b1be7952a1c8aa3055d6728 (diff) | |
download | ale-b1d833417bcb57e265e0d01df07b28f463529d4b.zip |
#3633 - Put all dummy test files in test/test-files
Diffstat (limited to 'test/command_callback/test_htmlhint_command_callback.vader')
-rw-r--r-- | test/command_callback/test_htmlhint_command_callback.vader | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/command_callback/test_htmlhint_command_callback.vader b/test/command_callback/test_htmlhint_command_callback.vader index d3f209f8..df5797af 100644 --- a/test/command_callback/test_htmlhint_command_callback.vader +++ b/test/command_callback/test_htmlhint_command_callback.vader @@ -1,12 +1,12 @@ Before: call ale#assert#SetUpLinterTest('html', 'htmlhint') - call ale#test#SetFilename('htmlhint_paths/test.html') + call ale#test#SetFilename('../test-files/htmlhint/test.html') let g:node_executable = ale#path#Simplify( - \ g:dir . '/htmlhint_paths/node_modules/.bin/htmlhint' + \ g:dir . '/../test-files/htmlhint/node_modules/.bin/htmlhint' \) let g:config_path = ale#path#Simplify( - \ g:dir . '/htmlhint_paths/with_config/.htmlhintrc' + \ g:dir . '/../test-files/htmlhint/with_config/.htmlhintrc' \) After: @@ -33,7 +33,7 @@ Execute(--format=unix should be removed from the options if added): \ ale#Escape(g:node_executable) . ' --format=unix %t' Execute(The configuration file should be automatically detected): - call ale#test#SetFilename('htmlhint_paths/with_config/test.html') + call ale#test#SetFilename('../test-files/htmlhint/with_config/test.html') AssertLinter g:node_executable, \ ale#Escape(g:node_executable) @@ -42,7 +42,7 @@ Execute(The configuration file should be automatically detected): " This is so old configurations which might include the config will work. Execute(The configuration file should be configurable through the options variable): - call ale#test#SetFilename('htmlhint_paths/with_config/test.html') + call ale#test#SetFilename('../test-files/htmlhint/with_config/test.html') let g:ale_html_htmlhint_options = '--config=/foo/bar/.htmlhintrc' AssertLinter g:node_executable, |