mirror of
https://github.com/dense-analysis/ale
synced 2024-12-18 04:15:39 +00:00
16 lines
408 B
Plaintext
16 lines
408 B
Plaintext
|
After:
|
||
|
unlet! g:output
|
||
|
|
||
|
Execute(ALEInfoToClipboard should that clipboard support is required):
|
||
|
" When run in the Docker image, there's no clipboard support, so this test
|
||
|
" will actually run.
|
||
|
if !has('clipboard')
|
||
|
let g:output = ''
|
||
|
|
||
|
redir => g:output
|
||
|
:ALEInfoToClipboard
|
||
|
redir END
|
||
|
|
||
|
AssertEqual 'clipboard not available. Try :ALEInfoToFile instead.', join(split(g:output))
|
||
|
endif
|