summaryrefslogtreecommitdiff
path: root/test/fixers/test_stylelint_fixer_callback.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixers/test_stylelint_fixer_callback.vader')
-rw-r--r--test/fixers/test_stylelint_fixer_callback.vader8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/fixers/test_stylelint_fixer_callback.vader b/test/fixers/test_stylelint_fixer_callback.vader
index 95f91f91..3c843975 100644
--- a/test/fixers/test_stylelint_fixer_callback.vader
+++ b/test/fixers/test_stylelint_fixer_callback.vader
@@ -9,28 +9,28 @@ After:
call ale#assert#TearDownFixerTest()
Execute(The stylelint callback should return the correct default values):
- call ale#test#SetFilename('../eslint-test-files/react-app/subdir/testfile.css')
+ call ale#test#SetFilename('../test-files/eslint/react-app/subdir/testfile.css')
AssertFixer
\ {
\ 'read_temporary_file': 1,
\ 'cwd': '%s:h',
\ 'command': (has('win32') ? 'node.exe ' : '')
- \ . ale#Escape(ale#path#Simplify(g:dir . '/../eslint-test-files/react-app/node_modules/stylelint/bin/stylelint.js'))
+ \ . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/eslint/react-app/node_modules/stylelint/bin/stylelint.js'))
\ . ' %t'
\ . ' --fix',
\ }
Execute(The stylelint callback should include custom stylelint options):
let g:ale_stylelint_options = '--cache'
- call ale#test#SetFilename('../eslint-test-files/react-app/subdir/testfile.css')
+ call ale#test#SetFilename('../test-files/eslint/react-app/subdir/testfile.css')
AssertFixer
\ {
\ 'read_temporary_file': 1,
\ 'cwd': '%s:h',
\ 'command': (has('win32') ? 'node.exe ' : '')
- \ . ale#Escape(ale#path#Simplify(g:dir . '/../eslint-test-files/react-app/node_modules/stylelint/bin/stylelint.js'))
+ \ . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/eslint/react-app/node_modules/stylelint/bin/stylelint.js'))
\ . ' %t'
\ . ' --cache'
\ . ' --fix',