summaryrefslogtreecommitdiff
path: root/test/fixers/test_goofle_java_format_fixer_callback.vader
diff options
context:
space:
mode:
authorTerry Ding <terryding77@gmail.com>2018-10-24 20:10:31 +0800
committerTerry Ding <terryding77@gmail.com>2018-10-24 20:10:31 +0800
commit3ba9cad878cdd524ed4d676afc970d2d62cedf4f (patch)
tree95717338710d01717ac05457df9b5cb20fc373c5 /test/fixers/test_goofle_java_format_fixer_callback.vader
parent2000436dfd7a25a8e9f66788c94bfb4512adda98 (diff)
downloadale-3ba9cad878cdd524ed4d676afc970d2d62cedf4f.zip
fix: change google_java_format_* to java_google_java_format_* for inject global variables according to doc/ale-java.txt
Diffstat (limited to 'test/fixers/test_goofle_java_format_fixer_callback.vader')
-rw-r--r--test/fixers/test_goofle_java_format_fixer_callback.vader8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/fixers/test_goofle_java_format_fixer_callback.vader b/test/fixers/test_goofle_java_format_fixer_callback.vader
index d64e2788..4c28b330 100644
--- a/test/fixers/test_goofle_java_format_fixer_callback.vader
+++ b/test/fixers/test_goofle_java_format_fixer_callback.vader
@@ -1,8 +1,8 @@
Before:
- Save g:ale_google_java_format_executable
+ Save g:ale_java_google_java_format_executable
" Use an invalid global executable, so we don't match it.
- let g:ale_google_java_format_executable = 'xxxinvalid'
+ let g:ale_java_google_java_format_executable = 'xxxinvalid'
call ale#test#SetDirectory('/testplugin/test/fixers')
@@ -17,11 +17,11 @@ Execute(The google-java-format callback should return 0 when the executable isn'
\ ale#fixers#google_java_format#Fix(bufnr(''))
Execute(The google-java-format callback should run the command when the executable test passes):
- let g:ale_google_java_format_executable = has('win32') ? 'cmd' : 'echo'
+ let g:ale_java_google_java_format_executable = has('win32') ? 'cmd' : 'echo'
AssertEqual
\ {
\ 'read_temporary_file': 1,
- \ 'command': ale#Escape(ale_google_java_format_executable) . ' --replace %t'
+ \ 'command': ale#Escape(ale_java_google_java_format_executable) . ' --replace %t'
\ },
\ ale#fixers#google_java_format#Fix(bufnr(''))