2019-05-28 19:27:10 +00:00
|
|
|
After:
|
|
|
|
unlet! g:output
|
|
|
|
|
2023-09-08 00:00:35 +00:00
|
|
|
Execute(ALEInfo -clipboard should tell the user that clipboard support is required):
|
2019-05-28 19:27:10 +00:00
|
|
|
" 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
|
2023-09-05 23:21:58 +00:00
|
|
|
:ALEInfo -clipboard
|
2019-05-28 19:27:10 +00:00
|
|
|
redir END
|
|
|
|
|
|
|
|
AssertEqual 'clipboard not available. Try :ALEInfoToFile instead.', join(split(g:output))
|
|
|
|
endif
|