File: test_reason_ls.vader

package info (click to toggle)
vim-ale 4.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,764 kB
  • sloc: sh: 499; python: 311; perl: 31; makefile: 4; xml: 4; javascript: 1
file content (21 lines) | stat: -rw-r--r-- 597 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Before:
  call ale#assert#SetUpLinterTest('reason', 'ls')

After:
  call ale#assert#TearDownLinterTest()

Execute(The linter should not be run by default):
  AssertLinterNotExecuted

Execute(The executable should be configurable):
  let b:ale_reason_ls_executable = 'foobar'

  AssertLinter 'foobar', ale#Escape('foobar')

Execute(There should be no default project root):
  AssertLSPProject ''

Execute(The project root should be detected using bsconfig.json):
  call ale#test#SetFilename('../test-files/reasonml/test.ml')

  AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/reasonml')