summaryrefslogtreecommitdiff
path: root/test/test_vim8_processid_parsing.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-02-17 10:19:44 +0000
committerw0rp <devw0rp@gmail.com>2017-02-17 10:19:44 +0000
commitb21ca4ed4e09bd519ba2943aed17cff909dd71e2 (patch)
tree065f6135b89007d5a70f95d1314dbec3e6a07f2a /test/test_vim8_processid_parsing.vader
parentbdbf36991d2f21feb3be08cfa979c76e548577a1 (diff)
downloadale-b21ca4ed4e09bd519ba2943aed17cff909dd71e2.zip
Use a more reliable method for getting an ID for a job
Diffstat (limited to 'test/test_vim8_processid_parsing.vader')
-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')