ale/test/test_ale_info_to_clipboard.vader
w0rp bf55175b69
#4454 Clean up root test directory tests
Combine cases into smaller tests of tests and remove tests we no longer
need. Linter tests have been moved to where they should be.
2023-09-08 01:00:35 +01:00

16 lines
422 B
Plaintext

After:
unlet! g:output
Execute(ALEInfo -clipboard should tell the user 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
:ALEInfo -clipboard
redir END
AssertEqual 'clipboard not available. Try :ALEInfoToFile instead.', join(split(g:output))
endif