diff options
Diffstat (limited to 'test/command_callback')
-rw-r--r-- | test/command_callback/test_javascript_eslint_command_callback.vader | 9 | ||||
-rw-r--r-- | test/command_callback/test_typescript_eslint_command_callback.vader | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/test/command_callback/test_javascript_eslint_command_callback.vader b/test/command_callback/test_javascript_eslint_command_callback.vader new file mode 100644 index 00000000..9ac8893e --- /dev/null +++ b/test/command_callback/test_javascript_eslint_command_callback.vader @@ -0,0 +1,9 @@ +Before: + call ale#assert#SetUpLinterTest('javascript', 'eslint') + +After: + call ale#assert#TearDownLinterTest() + +Execute(The default command should be correct): + AssertLinter 'eslint', 'cd ' . ale#Escape(g:dir) . ' && ' + \ . ale#Escape('eslint') . ' -f unix --stdin --stdin-filename %s' diff --git a/test/command_callback/test_typescript_eslint_command_callback.vader b/test/command_callback/test_typescript_eslint_command_callback.vader new file mode 100644 index 00000000..7a52a75b --- /dev/null +++ b/test/command_callback/test_typescript_eslint_command_callback.vader @@ -0,0 +1,9 @@ +Before: + call ale#assert#SetUpLinterTest('typescript', 'eslint') + +After: + call ale#assert#TearDownLinterTest() + +Execute(The default command should be correct): + AssertLinter 'eslint', 'cd ' . ale#Escape(g:dir) . ' && ' + \ . ale#Escape('eslint') . ' -f unix --stdin --stdin-filename %s' |