/ test / test_ale_info_to_clipboard.vader
test_ale_info_to_clipboard.vader
 1  After:
 2    unlet! g:output
 3  
 4  Execute(ALEInfo -clipboard should tell the user that clipboard support is required):
 5    " When run in the Docker image, there's no clipboard support, so this test
 6    " will actually run.
 7    if !has('clipboard')
 8      let g:output = ''
 9  
10      redir => g:output
11        :ALEInfo -clipboard
12      redir END
13  
14      AssertEqual 'clipboard not available. Try :ALEInfoToFile instead.', join(split(g:output))
15    endif