summaryrefslogtreecommitdiff
path: root/test/command_callback/test_write_good_command_callback.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2021-03-20 22:11:22 +0000
committerw0rp <devw0rp@gmail.com>2021-03-20 22:11:42 +0000
commitb1d833417bcb57e265e0d01df07b28f463529d4b (patch)
tree11421aeca89127b0cc9417f8ff4cb0d725199f49 /test/command_callback/test_write_good_command_callback.vader
parent3838ae118d8f05fa1b1be7952a1c8aa3055d6728 (diff)
downloadale-b1d833417bcb57e265e0d01df07b28f463529d4b.zip
#3633 - Put all dummy test files in test/test-files
Diffstat (limited to 'test/command_callback/test_write_good_command_callback.vader')
-rw-r--r--test/command_callback/test_write_good_command_callback.vader14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/command_callback/test_write_good_command_callback.vader b/test/command_callback/test_write_good_command_callback.vader
index 9ffa39bd..8958dd6a 100644
--- a/test/command_callback/test_write_good_command_callback.vader
+++ b/test/command_callback/test_write_good_command_callback.vader
@@ -30,24 +30,24 @@ Execute(The options should be used in the command):
\ ale#Escape('write-good') . ' --foo --bar %t',
Execute(Should use the node_modules/.bin executable, if available):
- call ale#test#SetFilename('write-good-node-modules/test.txt')
+ call ale#test#SetFilename('../test-files/write-good/node-modules/test.txt')
AssertLinter
- \ ale#path#Simplify(g:dir . '/write-good-node-modules/node_modules/.bin/write-good'),
- \ ale#Escape(ale#path#Simplify(g:dir . '/write-good-node-modules/node_modules/.bin/write-good'))
+ \ ale#path#Simplify(g:dir . '/../test-files/write-good/node-modules/node_modules/.bin/write-good'),
+ \ ale#Escape(ale#path#Simplify(g:dir . '/../test-files/write-good/node-modules/node_modules/.bin/write-good'))
\ . ' %t',
Execute(Should use the node_modules/write-good executable, if available):
- call ale#test#SetFilename('write-good-node-modules-2/test.txt')
+ call ale#test#SetFilename('../test-files/write-good/node-modules-2/test.txt')
AssertLinter
- \ ale#path#Simplify(g:dir . '/write-good-node-modules-2/node_modules/write-good/bin/write-good.js'),
+ \ ale#path#Simplify(g:dir . '/../test-files/write-good/node-modules-2/node_modules/write-good/bin/write-good.js'),
\ (has('win32') ? 'node.exe ' : '')
- \ . ale#Escape(ale#path#Simplify(g:dir . '/write-good-node-modules-2/node_modules/write-good/bin/write-good.js'))
+ \ . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/write-good/node-modules-2/node_modules/write-good/bin/write-good.js'))
\ . ' %t',
Execute(Should let users configure a global executable and override local paths):
- call ale#test#SetFilename('write-good-node-modules-2/test.txt')
+ call ale#test#SetFilename('../test-files/write-good/node-modules-2/test.txt')
let g:ale_writegood_executable = 'foo-bar'
let g:ale_writegood_use_global = 1