diff options
author | w0rp <devw0rp@gmail.com> | 2017-06-22 12:37:08 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-06-22 12:37:08 +0100 |
commit | ce2bfa88eb3dbfe1e2d0f6dd8b0781cb61c15cc1 (patch) | |
tree | 434b88cc76f8aeca09a17bd32d27eeb07e9e2f91 /test/test_path_equality.vader | |
parent | 40f6ee4c395214a2d9a245b80c2019dd4e24b9b1 (diff) | |
download | ale-ce2bfa88eb3dbfe1e2d0f6dd8b0781cb61c15cc1.zip |
Fix #676 - Fix handling of Perl errors
Diffstat (limited to 'test/test_path_equality.vader')
-rw-r--r-- | test/test_path_equality.vader | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_path_equality.vader b/test/test_path_equality.vader index 5d92794f..7043eb5f 100644 --- a/test/test_path_equality.vader +++ b/test/test_path_equality.vader @@ -24,3 +24,9 @@ Execute(ale#path#IsBufferPath should match paths with redundant slashes): silent file! foo.txt Assert ale#path#IsBufferPath(bufnr(''), getcwd() . '////foo.txt'), 'No match for foo.txt' + +Execute(ale#path#IsBufferPath should accept various names for stdin): + Assert ale#path#IsBufferPath(bufnr(''), '-') + Assert ale#path#IsBufferPath(bufnr(''), 'stdin') + Assert ale#path#IsBufferPath(bufnr(''), '<stdin>') + Assert ale#path#IsBufferPath(bufnr(''), '<somethingelse>') |