diff options
Diffstat (limited to 'test/command_callback/test_alex_command_callback.vader')
-rw-r--r-- | test/command_callback/test_alex_command_callback.vader | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/command_callback/test_alex_command_callback.vader b/test/command_callback/test_alex_command_callback.vader index 98769e0b..20e20301 100644 --- a/test/command_callback/test_alex_command_callback.vader +++ b/test/command_callback/test_alex_command_callback.vader @@ -10,22 +10,22 @@ Execute(The global executable should be used when the local one cannot be found) \ ale#Escape('alex') . ' %s --text', Execute(Should use the node_modules/.bin executable, if available): - call ale#test#SetFilename('alex-node-modules/test_file.tex') + call ale#test#SetFilename('../test-files/alex/node-modules/test_file.tex') - AssertLinter ale#path#Simplify(g:dir . '/alex-node-modules/node_modules/.bin/alex'), - \ ale#Escape(ale#path#Simplify(g:dir . '/alex-node-modules/node_modules/.bin/alex')) + AssertLinter ale#path#Simplify(g:dir . '/../test-files/alex/node-modules/node_modules/.bin/alex'), + \ ale#Escape(ale#path#Simplify(g:dir . '/../test-files/alex/node-modules/node_modules/.bin/alex')) \ . ' %s --text', Execute(Should use the node_modules/alex executable, if available): - call ale#test#SetFilename('alex-node-modules-2/test_file.tex') + call ale#test#SetFilename('../test-files/alex/node-modules-2/test_file.tex') - AssertLinter ale#path#Simplify(g:dir . '/alex-node-modules-2/node_modules/alex/cli.js'), + AssertLinter ale#path#Simplify(g:dir . '/../test-files/alex/node-modules-2/node_modules/alex/cli.js'), \ (has('win32') ? 'node.exe ' : '') - \ . ale#Escape(ale#path#Simplify(g:dir . '/alex-node-modules-2/node_modules/alex/cli.js')) + \ . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/alex/node-modules-2/node_modules/alex/cli.js')) \ . ' %s --text', Execute(Should let users configure a global executable and override local paths): - call ale#test#SetFilename('write-good-node-modules-2/test_file.tex') + call ale#test#SetFilename('../test-files/write-good/node-modules-2/test_file.tex') let g:ale_alex_executable = '/path/to/custom/alex' let g:ale_alex_use_global = 1 |