summaryrefslogtreecommitdiff
path: root/test/fixers/test_clangformat_fixer_callback.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixers/test_clangformat_fixer_callback.vader')
-rw-r--r--test/fixers/test_clangformat_fixer_callback.vader8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/fixers/test_clangformat_fixer_callback.vader b/test/fixers/test_clangformat_fixer_callback.vader
index b9b74ee8..3e4546d1 100644
--- a/test/fixers/test_clangformat_fixer_callback.vader
+++ b/test/fixers/test_clangformat_fixer_callback.vader
@@ -17,7 +17,7 @@ After:
call ale#test#RestoreDirectory()
Execute(The clang-format callback should return the correct default values):
- call ale#test#SetFilename('c_paths/dummy.c')
+ call ale#test#SetFilename('../test-files/c/dummy.c')
AssertEqual
\ {
@@ -27,7 +27,7 @@ Execute(The clang-format callback should return the correct default values):
\ ale#fixers#clangformat#Fix(bufnr(''))
Execute(The clangformat callback should include any additional options):
- call ale#test#SetFilename('c_paths/dummy.c')
+ call ale#test#SetFilename('../test-files/c/dummy.c')
let g:ale_c_clangformat_options = '--some-option'
AssertEqual
@@ -39,7 +39,7 @@ Execute(The clangformat callback should include any additional options):
\ ale#fixers#clangformat#Fix(bufnr(''))
Execute(The clangformat callback should include style options as well):
- call ale#test#SetFilename('c_paths/dummy.c')
+ call ale#test#SetFilename('../test-files/c/dummy.c')
let g:ale_c_clangformat_options = '--some-option'
let g:ale_c_clangformat_style_option = '{BasedOnStyle: Microsoft, ColumnLimit:80,}'
@@ -52,7 +52,7 @@ Execute(The clangformat callback should include style options as well):
\ ale#fixers#clangformat#Fix(bufnr(''))
Execute(The clangformat callback should use local file instead of style options):
- call ale#test#SetFilename('clangformat_paths/with_clangformat/dummy.c')
+ call ale#test#SetFilename('../test-files/clangformat/with_clangformat/dummy.c')
let g:ale_c_clangformat_options = '--some-option'
let g:ale_c_clangformat_style_option = '{BasedOnStyle: Microsoft, ColumnLimit:80,}'
let g:ale_c_clangformat_use_local_file = 1