summaryrefslogtreecommitdiff
path: root/test/fixers/test_xots_fixer_callback.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixers/test_xots_fixer_callback.vader')
-rw-r--r--test/fixers/test_xots_fixer_callback.vader12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/fixers/test_xots_fixer_callback.vader b/test/fixers/test_xots_fixer_callback.vader
index 5c7fa1d1..61a22e62 100644
--- a/test/fixers/test_xots_fixer_callback.vader
+++ b/test/fixers/test_xots_fixer_callback.vader
@@ -7,38 +7,38 @@ After:
call ale#assert#TearDownFixerTest()
Execute(The xo callback should return the correct default values):
- call ale#test#SetFilename('../xo-test-files/monorepo/packages/a/index.ts')
+ call ale#test#SetFilename('../test-files/xo/monorepo/packages/a/index.ts')
AssertFixer
\ {
\ 'read_temporary_file': 1,
\ 'command': (has('win32') ? 'node.exe ' : '')
- \ . ale#Escape(ale#path#Simplify(g:dir . '/../xo-test-files/monorepo/node_modules/xo/cli.js'))
+ \ . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/xo/monorepo/node_modules/xo/cli.js'))
\ . ' --fix %t',
\ }
Execute(The xo callback should include custom xo options):
let g:ale_typescript_xo_options = '--space'
- call ale#test#SetFilename('../xo-test-files/monorepo/packages/a/index.ts')
+ call ale#test#SetFilename('../test-files/xo/monorepo/packages/a/index.ts')
AssertFixer
\ {
\ 'read_temporary_file': 1,
\ 'command': (has('win32') ? 'node.exe ' : '')
- \ . ale#Escape(ale#path#Simplify(g:dir . '/../xo-test-files/monorepo/node_modules/xo/cli.js'))
+ \ . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/xo/monorepo/node_modules/xo/cli.js'))
\ . ' --fix %t'
\ . ' --space',
\ }
Execute(--stdin should be used when xo is new enough):
let g:ale_typescript_xo_options = '--space'
- call ale#test#SetFilename('../xo-test-files/monorepo/packages/a/index.ts')
+ call ale#test#SetFilename('../test-files/xo/monorepo/packages/a/index.ts')
GivenCommandOutput ['0.30.0']
AssertFixer
\ {
\ 'command': (has('win32') ? 'node.exe ' : '')
- \ . ale#Escape(ale#path#Simplify(g:dir . '/../xo-test-files/monorepo/node_modules/xo/cli.js'))
+ \ . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/xo/monorepo/node_modules/xo/cli.js'))
\ . ' --stdin --stdin-filename %s'
\ . ' --fix'
\ . ' --space',