summaryrefslogtreecommitdiff
path: root/test/linter/test_sql_sqlfluff.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_sql_sqlfluff.vader')
-rw-r--r--test/linter/test_sql_sqlfluff.vader11
1 files changed, 2 insertions, 9 deletions
diff --git a/test/linter/test_sql_sqlfluff.vader b/test/linter/test_sql_sqlfluff.vader
index 9b474017..8fde882d 100644
--- a/test/linter/test_sql_sqlfluff.vader
+++ b/test/linter/test_sql_sqlfluff.vader
@@ -4,19 +4,12 @@ Before:
After:
call ale#assert#TearDownLinterTest()
-Execute(The default command should be correct):
+Execute(The default sqlfluff command should be correct):
AssertLinter 'sqlfluff',
\ ale#Escape('sqlfluff')
\ . ' lint --dialect ansi --format json %t'
-Execute(The executable should be configurable):
- let g:ale_sql_sqlfluff_executable = 'foobar'
-
- AssertLinter 'foobar',
- \ ale#Escape('foobar')
- \ . ' lint --dialect ansi --format json %t'
-
-Execute(Overriding options should work):
+Execute(The sqlfluff executable and command should be configurable):
let g:ale_sql_sqlfluff_executable = 'foobar'
let g:ale_sql_sqlfluff_options = '--whatever'