summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorharttle <yangjvn@126.com>2019-04-11 19:47:31 +0800
committerharttle <yangjvn@126.com>2019-04-11 19:47:31 +0800
commit4b6691f602e8574fb41b8e63d8d95f7c0ecbb878 (patch)
tree4a7a1c8e440753d73c106a604d8c3edc535529a9 /test/command_callback
parentd4841cedf22290a9746d220cd6682fac52262523 (diff)
downloadale-4b6691f602e8574fb41b8e63d8d95f7c0ecbb878.zip
test: unit test for fecs fixer, fecs command
Diffstat (limited to 'test/command_callback')
-rwxr-xr-xtest/command_callback/fecs_paths/fecs0
-rwxr-xr-xtest/command_callback/fecs_paths/fecs.exe0
-rw-r--r--test/command_callback/test_fecs_command_callback.vader8
3 files changed, 8 insertions, 0 deletions
diff --git a/test/command_callback/fecs_paths/fecs b/test/command_callback/fecs_paths/fecs
new file mode 100755
index 00000000..e69de29b
--- /dev/null
+++ b/test/command_callback/fecs_paths/fecs
diff --git a/test/command_callback/fecs_paths/fecs.exe b/test/command_callback/fecs_paths/fecs.exe
new file mode 100755
index 00000000..e69de29b
--- /dev/null
+++ b/test/command_callback/fecs_paths/fecs.exe
diff --git a/test/command_callback/test_fecs_command_callback.vader b/test/command_callback/test_fecs_command_callback.vader
new file mode 100644
index 00000000..f70ad084
--- /dev/null
+++ b/test/command_callback/test_fecs_command_callback.vader
@@ -0,0 +1,8 @@
+Before:
+ call ale#assert#SetUpLinterTest('javascript', 'fecs')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(The default command should be correct):
+ AssertLinter 'fecs', ale#Escape('fecs') . ' check --colors=false --rule=true %t'