mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-26 15:43:16 +08:00
Fix #676 - Fix handling of Perl errors
This commit is contained in:
1 parent
40f6ee4c39
commit
ce2bfa88eb
4 files changed
+28
-1
No files matched your search
@@ -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>')
|
||||
Reference in new issue
Block a user