diff options
Diffstat (limited to 'test/fixers/test_php_cs_fixer.vader')
-rw-r--r-- | test/fixers/test_php_cs_fixer.vader | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/fixers/test_php_cs_fixer.vader b/test/fixers/test_php_cs_fixer.vader index b47c190c..550f453c 100644 --- a/test/fixers/test_php_cs_fixer.vader +++ b/test/fixers/test_php_cs_fixer.vader @@ -16,22 +16,22 @@ After: Execute(project with php-cs-fixer should use local by default): - call ale#test#SetFilename('php_paths/project-with-php-cs-fixer/test.php') + call ale#test#SetFilename('../test-files/php/project-with-php-cs-fixer/test.php') AssertEqual - \ ale#path#Simplify(g:dir . '/php_paths/project-with-php-cs-fixer/vendor/bin/php-cs-fixer'), + \ ale#path#Simplify(g:dir . '/../test-files/php/project-with-php-cs-fixer/vendor/bin/php-cs-fixer'), \ ale#fixers#php_cs_fixer#GetExecutable(bufnr('')) Execute(use-global should override local detection): let g:ale_php_cs_fixer_use_global = 1 - call ale#test#SetFilename('php_paths/project-with-php-cs-fixer/test.php') + call ale#test#SetFilename('../test-files/php/project-with-php-cs-fixer/test.php') AssertEqual \ 'php-cs-fixer', \ ale#fixers#php_cs_fixer#GetExecutable(bufnr('')) Execute(project without php-cs-fixer should use global): - call ale#test#SetFilename('php_paths/project-without-php-cs-fixer/test.php') + call ale#test#SetFilename('../test-files/php/project-without-php-cs-fixer/test.php') AssertEqual \ 'php-cs-fixer', @@ -41,7 +41,7 @@ Execute(project without php-cs-fixer should use global): Execute(The php-cs-fixer callback should return the correct default values): - call ale#test#SetFilename('php_paths/project-without-php-cs-fixer/foo/test.php') + call ale#test#SetFilename('../test-files/php/project-without-php-cs-fixer/foo/test.php') AssertEqual \ { @@ -54,7 +54,7 @@ Execute(The php-cs-fixer callback should return the correct default values): Execute(The php-cs-fixer callback should include custom php-cs-fixer options): let g:ale_php_cs_fixer_options = '--config="$HOME/.php_cs"' - call ale#test#SetFilename('php_paths/project-without-php-cs-fixer/test.php') + call ale#test#SetFilename('../test-files/php/project-without-php-cs-fixer/test.php') AssertEqual \ { |