summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_vim8_processid_parsing.vader5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_vim8_processid_parsing.vader b/test/test_vim8_processid_parsing.vader
new file mode 100644
index 00000000..5ec564e0
--- /dev/null
+++ b/test/test_vim8_processid_parsing.vader
@@ -0,0 +1,5 @@
+Execute(Vim8 Process ID parsing should work):
+ AssertEqual 123, ale#engine#ParseVim8ProcessID('process 123 run')
+ AssertEqual 347, ale#engine#ParseVim8ProcessID('process 347 failed')
+ AssertEqual 789, ale#engine#ParseVim8ProcessID('process 789 dead')
+ AssertEqual 0, ale#engine#ParseVim8ProcessID('no process')