summaryrefslogtreecommitdiff
path: root/test/test_ale_info_to_clipboard.vader
blob: d0131da1321ae2ec2a1036d3acc99f46e9ba1695 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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