diff options
author | w0rp <w0rp@users.noreply.github.com> | 2020-08-28 08:43:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-28 08:43:10 +0100 |
commit | 47fdc02fc724ee3a707715116cba2376d49fe3d3 (patch) | |
tree | 58a7f81a2b7d58dccdb3d4a4fe70e951ef4fa7f8 /test/command_callback | |
parent | 369e3876f00d497ee9f7d2f6a3936837f6bcdcb7 (diff) | |
parent | 07080066e49d68910dccc19e4d95167300fb9422 (diff) | |
download | ale-47fdc02fc724ee3a707715116cba2376d49fe3d3.zip |
Merge pull request #2988 from joereynolds/master
Add sql-lint as linter
Diffstat (limited to 'test/command_callback')
-rw-r--r-- | test/command_callback/test_sqllint_command_callback.vader | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command_callback/test_sqllint_command_callback.vader b/test/command_callback/test_sqllint_command_callback.vader new file mode 100644 index 00000000..eea9b4e0 --- /dev/null +++ b/test/command_callback/test_sqllint_command_callback.vader @@ -0,0 +1,12 @@ +Before: + " Load the linter and set up a series of commands, reset linter variables, + " clear caches, etc. + " + " Vader's 'Save' command will be called here for linter variables. + call ale#assert#SetUpLinterTest('sql', 'sqllint') + +After: + call ale#assert#TearDownLinterTest() + +Execute(The default command should be correct): + AssertLinter 'sql-lint', ['sql-lint'] |