mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-28 14:56:52 +08:00
Fix #676 - Fix handling of Perl errors
This commit is contained in:
@@ -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