This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/test/test_ale_info_to_clipboard.vader

16 lines
408 B
Text
Raw Normal View History

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