summaryrefslogtreecommitdiff
path: root/test/command_callback/test_puglint_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_puglint_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_puglint_command_callback.vader')
-rw-r--r--test/command_callback/test_puglint_command_callback.vader36
1 files changed, 18 insertions, 18 deletions
diff --git a/test/command_callback/test_puglint_command_callback.vader b/test/command_callback/test_puglint_command_callback.vader
index 69c86b25..8a445408 100644
--- a/test/command_callback/test_puglint_command_callback.vader
+++ b/test/command_callback/test_puglint_command_callback.vader
@@ -5,44 +5,44 @@ After:
call ale#assert#TearDownLinterTest()
Execute(puglint should detect local executables and package.json):
- call ale#test#SetFilename('puglint_project/test.pug')
+ call ale#test#SetFilename('../test-files/puglint/test.pug')
AssertLinter
- \ ale#path#Simplify(g:dir . '/puglint_project/node_modules/.bin/pug-lint'),
- \ ale#Escape(ale#path#Simplify(g:dir . '/puglint_project/node_modules/.bin/pug-lint'))
- \ . ' -c ' . ale#Escape(ale#path#Simplify(g:dir . '/puglint_project/package.json'))
+ \ ale#path#Simplify(g:dir . '/../test-files/puglint/node_modules/.bin/pug-lint'),
+ \ ale#Escape(ale#path#Simplify(g:dir . '/../test-files/puglint/node_modules/.bin/pug-lint'))
+ \ . ' -c ' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/puglint/package.json'))
\ . ' -r inline %t'
Execute(puglint should use global executables if configured):
let g:ale_pug_puglint_use_global = 1
- call ale#test#SetFilename('puglint_project/test.pug')
+ call ale#test#SetFilename('../test-files/puglint/test.pug')
AssertLinter 'pug-lint',
\ ale#Escape('pug-lint')
- \ . ' -c ' . ale#Escape(ale#path#Simplify(g:dir . '/puglint_project/package.json'))
+ \ . ' -c ' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/puglint/package.json'))
\ . ' -r inline %t'
Execute(puglint should detect .pug-lintrc):
- call ale#test#SetFilename('puglint_project/puglint_rc_dir/subdir/test.pug')
+ call ale#test#SetFilename('../test-files/puglint/puglint_rc_dir/subdir/test.pug')
- AssertLinter ale#path#Simplify(g:dir . '/puglint_project/node_modules/.bin/pug-lint'),
- \ ale#Escape(ale#path#Simplify(g:dir . '/puglint_project/node_modules/.bin/pug-lint'))
- \ . ' -c ' . ale#Escape(ale#path#Simplify(g:dir . '/puglint_project/puglint_rc_dir/.pug-lintrc'))
+ AssertLinter ale#path#Simplify(g:dir . '/../test-files/puglint/node_modules/.bin/pug-lint'),
+ \ ale#Escape(ale#path#Simplify(g:dir . '/../test-files/puglint/node_modules/.bin/pug-lint'))
+ \ . ' -c ' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/puglint/puglint_rc_dir/.pug-lintrc'))
\ . ' -r inline %t'
Execute(puglint should detect .pug-lintrc.js):
- call ale#test#SetFilename('puglint_project/puglint_rc_js_dir/subdir/test.pug')
+ call ale#test#SetFilename('../test-files/puglint/puglint_rc_js_dir/subdir/test.pug')
- AssertLinter ale#path#Simplify(g:dir . '/puglint_project/node_modules/.bin/pug-lint'),
- \ ale#Escape(ale#path#Simplify(g:dir . '/puglint_project/node_modules/.bin/pug-lint'))
- \ . ' -c ' . ale#Escape(ale#path#Simplify(g:dir . '/puglint_project/puglint_rc_js_dir/.pug-lintrc.js'))
+ AssertLinter ale#path#Simplify(g:dir . '/../test-files/puglint/node_modules/.bin/pug-lint'),
+ \ ale#Escape(ale#path#Simplify(g:dir . '/../test-files/puglint/node_modules/.bin/pug-lint'))
+ \ . ' -c ' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/puglint/puglint_rc_js_dir/.pug-lintrc.js'))
\ . ' -r inline %t'
Execute(puglint should detect .pug-lintrc.json):
- call ale#test#SetFilename('puglint_project/puglint_rc_json_dir/subdir/test.pug')
+ call ale#test#SetFilename('../test-files/puglint/puglint_rc_json_dir/subdir/test.pug')
- AssertLinter ale#path#Simplify(g:dir . '/puglint_project/node_modules/.bin/pug-lint'),
- \ ale#Escape(ale#path#Simplify(g:dir . '/puglint_project/node_modules/.bin/pug-lint'))
- \ . ' -c ' . ale#Escape(ale#path#Simplify(g:dir . '/puglint_project/puglint_rc_json_dir/.pug-lintrc.json'))
+ AssertLinter ale#path#Simplify(g:dir . '/../test-files/puglint/node_modules/.bin/pug-lint'),
+ \ ale#Escape(ale#path#Simplify(g:dir . '/../test-files/puglint/node_modules/.bin/pug-lint'))
+ \ . ' -c ' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/puglint/puglint_rc_json_dir/.pug-lintrc.json'))
\ . ' -r inline %t'