diff options
Diffstat (limited to 'test/fixers/test_prettier_fixer_callback.vader')
-rw-r--r-- | test/fixers/test_prettier_fixer_callback.vader | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/test/fixers/test_prettier_fixer_callback.vader b/test/fixers/test_prettier_fixer_callback.vader index 0857c4cb..7e7b661d 100644 --- a/test/fixers/test_prettier_fixer_callback.vader +++ b/test/fixers/test_prettier_fixer_callback.vader @@ -12,7 +12,7 @@ After: call ale#assert#TearDownFixerTest() Execute(The prettier callback should return the correct default values): - call ale#test#SetFilename('../prettier-test-files/testfile.js') + call ale#test#SetFilename('../test-files/prettier/testfile.js') AssertFixer \ { @@ -24,7 +24,7 @@ Execute(The prettier callback should return the correct default values): Execute(The --config option should not be set automatically): let g:ale_javascript_prettier_use_local_config = 1 - call ale#test#SetFilename('../prettier-test-files/with_config/testfile.js') + call ale#test#SetFilename('../test-files/prettier/with_config/testfile.js') AssertFixer \ { @@ -36,7 +36,7 @@ Execute(The --config option should not be set automatically): Execute(The prettier callback should include custom prettier options): let g:ale_javascript_prettier_options = '--no-semi' - call ale#test#SetFilename('../prettier-test-files/with_config/testfile.js') + call ale#test#SetFilename('../test-files/prettier/with_config/testfile.js') AssertFixer \ { @@ -48,7 +48,7 @@ Execute(The prettier callback should include custom prettier options): \ } Execute(The version check should be correct): - call ale#test#SetFilename('../prettier-test-files/testfile.js') + call ale#test#SetFilename('../test-files/prettier/testfile.js') AssertFixer [ \ ale#Escape('prettier') . ' --version', @@ -57,7 +57,7 @@ Execute(The version check should be correct): Execute(--stdin-filepath should be used when prettier is new enough): let g:ale_javascript_prettier_options = '--no-semi' - call ale#test#SetFilename('../prettier-test-files/with_config/testfile.js') + call ale#test#SetFilename('../test-files/prettier/with_config/testfile.js') GivenCommandOutput ['1.6.0'] AssertFixer @@ -69,7 +69,7 @@ Execute(--stdin-filepath should be used when prettier is new enough): \ } Execute(The version number should be cached): - call ale#test#SetFilename('../prettier-test-files/with_config/testfile.js') + call ale#test#SetFilename('../test-files/prettier/with_config/testfile.js') GivenCommandOutput ['1.6.0'] AssertFixer @@ -88,7 +88,7 @@ Execute(The version number should be cached): \ } Execute(Should set --parser to `babylon` by default, < 1.16.0): - call ale#test#SetFilename('../prettier-test-files/testfile') + call ale#test#SetFilename('../test-files/prettier/testfile') set filetype=javascript @@ -102,7 +102,7 @@ Execute(Should set --parser to `babylon` by default, < 1.16.0): \ } Execute(Should set --parser to `babel` by default, >= 1.16.0): - call ale#test#SetFilename('../prettier-test-files/testfile') + call ale#test#SetFilename('../test-files/prettier/testfile') set filetype=javascript @@ -116,7 +116,7 @@ Execute(Should set --parser to `babel` by default, >= 1.16.0): \ } Execute(Should set --parser based on filetype, TypeScript): - call ale#test#SetFilename('../prettier-test-files/testfile') + call ale#test#SetFilename('../test-files/prettier/testfile') set filetype=typescript @@ -130,7 +130,7 @@ Execute(Should set --parser based on filetype, TypeScript): \ } Execute(Should set --parser based on filetype, CSS): - call ale#test#SetFilename('../prettier-test-files/testfile') + call ale#test#SetFilename('../test-files/prettier/testfile') set filetype=css @@ -144,7 +144,7 @@ Execute(Should set --parser based on filetype, CSS): \ } Execute(Should set --parser based on filetype, LESS): - call ale#test#SetFilename('../prettier-test-files/testfile') + call ale#test#SetFilename('../test-files/prettier/testfile') set filetype=less @@ -158,7 +158,7 @@ Execute(Should set --parser based on filetype, LESS): \ } Execute(Should set --parser based on filetype, SCSS): - call ale#test#SetFilename('../prettier-test-files/testfile') + call ale#test#SetFilename('../test-files/prettier/testfile') set filetype=scss @@ -172,7 +172,7 @@ Execute(Should set --parser based on filetype, SCSS): \ } Execute(Should set --parser based on filetype, JSON): - call ale#test#SetFilename('../prettier-test-files/testfile') + call ale#test#SetFilename('../test-files/prettier/testfile') set filetype=json @@ -186,7 +186,7 @@ Execute(Should set --parser based on filetype, JSON): \ } Execute(Should set --parser based on filetype, JSON5): - call ale#test#SetFilename('../prettier-test-files/testfile') + call ale#test#SetFilename('../test-files/prettier/testfile') set filetype=json5 @@ -200,7 +200,7 @@ Execute(Should set --parser based on filetype, JSON5): \ } Execute(Should set --parser based on filetype, GraphQL): - call ale#test#SetFilename('../prettier-test-files/testfile') + call ale#test#SetFilename('../test-files/prettier/testfile') set filetype=graphql @@ -214,7 +214,7 @@ Execute(Should set --parser based on filetype, GraphQL): \ } Execute(Should set --parser based on filetype, Markdown): - call ale#test#SetFilename('../prettier-test-files/testfile') + call ale#test#SetFilename('../test-files/prettier/testfile') set filetype=markdown @@ -228,7 +228,7 @@ Execute(Should set --parser based on filetype, Markdown): \ } Execute(Should set --parser based on filetype, Vue): - call ale#test#SetFilename('../prettier-test-files/testfile') + call ale#test#SetFilename('../test-files/prettier/testfile') set filetype=vue @@ -242,7 +242,7 @@ Execute(Should set --parser based on filetype, Vue): \ } Execute(Should set --parser based on filetype, YAML): - call ale#test#SetFilename('../prettier-test-files/testfile') + call ale#test#SetFilename('../test-files/prettier/testfile') set filetype=yaml @@ -256,7 +256,7 @@ Execute(Should set --parser based on filetype, YAML): \ } Execute(Should set --parser based on filetype, HTML): - call ale#test#SetFilename('../prettier-test-files/testfile') + call ale#test#SetFilename('../test-files/prettier/testfile') set filetype=html @@ -270,7 +270,7 @@ Execute(Should set --parser based on filetype, HTML): \ } Execute(Should set --parser based on filetype, Ruby): - call ale#test#SetFilename('../prettier-test-files/testfile') + call ale#test#SetFilename('../test-files/prettier/testfile') set filetype=ruby @@ -284,7 +284,7 @@ Execute(Should set --parser based on filetype, Ruby): \ } Execute(Should set --parser based on first filetype of multiple filetypes): - call ale#test#SetFilename('../prettier-test-files/testfile') + call ale#test#SetFilename('../test-files/prettier/testfile') set filetype=css.scss @@ -298,7 +298,7 @@ Execute(Should set --parser based on first filetype of multiple filetypes): \ } Execute(Should set --parser for experimental language, Handlebars): - call ale#test#SetFilename('../prettier-test-files/testfile.hbs') + call ale#test#SetFilename('../test-files/prettier/testfile.hbs') set filetype=html.handlebars @@ -312,7 +312,7 @@ Execute(Should set --parser for experimental language, Handlebars): \ } Execute(Changes to directory where .prettierignore is found): - call ale#test#SetFilename('../prettier-test-files/with_prettierignore/src/testfile.js') + call ale#test#SetFilename('../test-files/prettier/with_prettierignore/src/testfile.js') GivenCommandOutput ['1.6.0'] AssertFixer |