diff options
author | w0rp <devw0rp@gmail.com> | 2021-03-21 00:21:49 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2021-03-21 00:25:33 +0000 |
commit | f7852dbd0a063d6d82ee17a5057fea53cb79b21d (patch) | |
tree | 00b98a3c668af9313eedd6936475c81eeef7e9b8 /test/command_callback/test_remark_lint_command_callbacks.vader | |
parent | 35caaecc9fc5822f0474e913d0b7655048fd30ee (diff) | |
download | ale-f7852dbd0a063d6d82ee17a5057fea53cb79b21d.zip |
#3633 - Move linter tests into test/linter
Diffstat (limited to 'test/command_callback/test_remark_lint_command_callbacks.vader')
-rw-r--r-- | test/command_callback/test_remark_lint_command_callbacks.vader | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/test/command_callback/test_remark_lint_command_callbacks.vader b/test/command_callback/test_remark_lint_command_callbacks.vader deleted file mode 100644 index a34f0a90..00000000 --- a/test/command_callback/test_remark_lint_command_callbacks.vader +++ /dev/null @@ -1,37 +0,0 @@ -Before: - " This is just one language for the linter. - call ale#assert#SetUpLinterTest('markdown', 'remark_lint') - -After: - call ale#assert#TearDownLinterTest() - -Execute(The default command should be correct): - AssertLinter 'remark', - \ ale#Escape('remark') . ' --no-stdout --no-color' - -Execute(The executable should be configurable): - let b:ale_markdown_remark_lint_executable = 'foobar' - - AssertLinter 'foobar', - \ ale#Escape('foobar') . ' --no-stdout --no-color' - -Execute(The options should be configurable): - let b:ale_markdown_remark_lint_options = '--something' - - AssertLinter 'remark', - \ ale#Escape('remark') . ' --something --no-stdout --no-color' - -Execute(The local executable from .bin should be used if available): - call ale#test#SetFilename('../test-files/remark_lint/with_bin_path/foo.md') - - AssertLinter - \ ale#path#Simplify(g:dir . '/../test-files/remark_lint/with_bin_path/node_modules/.bin/remark'), - \ ale#Escape(ale#path#Simplify(g:dir . '/../test-files/remark_lint/with_bin_path/node_modules/.bin/remark')) - \ . ' --no-stdout --no-color' - -Execute(The global executable should be uesd if the option is set): - let b:ale_markdown_remark_lint_use_global = 1 - call ale#test#SetFilename('../test-files/remark_lint/with_bin_path/foo.md') - - AssertLinter 'remark', ale#Escape('remark') - \ . ' --no-stdout --no-color' |