summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2021-03-21 00:21:49 +0000
committerw0rp <devw0rp@gmail.com>2021-03-21 00:25:33 +0000
commitf7852dbd0a063d6d82ee17a5057fea53cb79b21d (patch)
tree00b98a3c668af9313eedd6936475c81eeef7e9b8
parent35caaecc9fc5822f0474e913d0b7655048fd30ee (diff)
downloadale-f7852dbd0a063d6d82ee17a5057fea53cb79b21d.zip
#3633 - Move linter tests into test/linter
-rw-r--r--ale_linters/json/jq.vim34
-rw-r--r--autoload/ale/assert.vim2
-rw-r--r--doc/ale-development.txt6
-rw-r--r--test/completion/test_completion_events.vader5
-rw-r--r--test/fixers/test_autoimport_fixer_callback.vader3
-rw-r--r--test/fixers/test_autopep8_fixer_callback.vader2
-rw-r--r--test/fixers/test_bibclean_fixer_callback.vader4
-rw-r--r--test/fixers/test_black_fixer_callback.vader2
-rw-r--r--test/fixers/test_clangformat_fixer_callback.vader2
-rw-r--r--test/fixers/test_clangtidy_fixer_callback.vader2
-rw-r--r--test/fixers/test_fecs_fixer_callback.vader2
-rw-r--r--test/fixers/test_html_beautify_fixer_callback.vader4
-rw-r--r--test/fixers/test_isort_fixer_callback.vader3
-rw-r--r--test/fixers/test_php_cs_fixer.vader3
-rw-r--r--test/fixers/test_phpcbf_fixer_callback.vader6
-rw-r--r--test/fixers/test_prettier_fixer_callback.vader4
-rw-r--r--test/fixers/test_prettier_standard_callback.vader4
-rw-r--r--test/fixers/test_puppetlint_fixer_callback.vader3
-rw-r--r--test/fixers/test_reorder_python_imports_fixer_callback.vader3
-rw-r--r--test/fixers/test_rubocop_fixer_callback.vader3
-rw-r--r--test/fixers/test_rufo_fixer_callback.vader3
-rw-r--r--test/fixers/test_scalafmt_fixer_callback.vader3
-rw-r--r--test/fixers/test_sorbet_fixer_callback.vader4
-rw-r--r--test/fixers/test_standardrb_fixer_callback.vader3
-rw-r--r--test/fixers/test_swiftformat_fixer_callback.vader3
-rw-r--r--test/fixers/test_tidy_fixer_callback.vader4
-rw-r--r--test/fixers/test_tslint_fixer_callback.vader5
-rw-r--r--test/fixers/test_uncrustify_fixer_callback.vader3
-rw-r--r--test/fixers/test_yamlfix_fixer_callback.vader4
-rw-r--r--test/fixers/test_yapf_fixer_callback.vader3
-rw-r--r--test/handler/test_lacheck_handler.vader6
-rw-r--r--test/linter/test_ada_gcc.vader (renamed from test/command_callback/test_ada_gcc_command_callbacks.vader)0
-rw-r--r--test/linter/test_adals.vader (renamed from test/command_callback/test_adals_command_callbacks.vader)0
-rw-r--r--test/linter/test_alex.vader (renamed from test/command_callback/test_alex_command_callback.vader)0
-rw-r--r--test/linter/test_ameba.vader (renamed from test/command_callback/test_ameba_command_callback.vader)0
-rw-r--r--test/linter/test_angular.vader (renamed from test/command_callback/test_angular_command_callback.vader)0
-rw-r--r--test/linter/test_ansible_lint.vader (renamed from test/command_callback/test_ansible_lint_command_callback.vader)0
-rw-r--r--test/linter/test_asciidoc_textlint.vader (renamed from test/command_callback/test_asciidoc_textlint_command_callbacks.vader)0
-rw-r--r--test/linter/test_asm_gcc.vader (renamed from test/command_callback/test_asm_gcc_command_callbacks.vader)0
-rw-r--r--test/linter/test_bandit.vader (renamed from test/command_callback/test_bandit_command_callback.vader)0
-rw-r--r--test/linter/test_bashate.vader (renamed from test/command_callback/test_bashate_command_callback.vader)0
-rw-r--r--test/linter/test_bib_bibclean.vader (renamed from test/command_callback/test_bib_bibclean_command_callback.vader)0
-rw-r--r--test/linter/test_bingo.vader (renamed from test/command_callback/test_bingo_command_callback.vader)0
-rw-r--r--test/linter/test_brakeman.vader (renamed from test/command_callback/test_brakeman_command_callback.vader)0
-rw-r--r--test/linter/test_c_cc.vader (renamed from test/command_callback/test_c_cc_command_callbacks.vader)0
-rw-r--r--test/linter/test_c_ccls.vader (renamed from test/command_callback/test_c_ccls_command_callbacks.vader)0
-rw-r--r--test/linter/test_c_clang_tidy.vader (renamed from test/command_callback/test_c_clang_tidy_command_callback.vader)0
-rw-r--r--test/linter/test_c_clangd.vader (renamed from test/command_callback/test_c_clangd_command_callbacks.vader)4
-rw-r--r--test/linter/test_c_cppcheck.vader (renamed from test/command_callback/test_c_cppcheck_command_callbacks.vader)20
-rw-r--r--test/linter/test_c_cquery.vader (renamed from test/command_callback/test_c_cquery_command_callbacks.vader)0
-rw-r--r--test/linter/test_c_flawfinder.vader (renamed from test/command_callback/test_c_flawfinder_command_callbacks.vader)0
-rw-r--r--test/linter/test_c_import_paths.vader (renamed from test/command_callback/test_c_import_paths.vader)0
-rw-r--r--test/linter/test_cargo.vader (renamed from test/command_callback/test_cargo_command_callbacks.vader)0
-rw-r--r--test/linter/test_checkstyle.vader (renamed from test/command_callback/test_checkstyle_command_callback.vader)0
-rw-r--r--test/linter/test_clang_tidy.vader (renamed from test/command_callback/test_clang_tidy_command_callback.vader)0
-rw-r--r--test/linter/test_cookstyle.vader (renamed from test/command_callback/test_cookstyle_command_callback.vader)0
-rw-r--r--test/linter/test_cpp_cc.vader (renamed from test/command_callback/test_cpp_cc_command_callbacks.vader)0
-rw-r--r--test/linter/test_cpp_ccls.vader (renamed from test/command_callback/test_cpp_ccls_command_callbacks.vader)0
-rw-r--r--test/linter/test_cpp_clangcheck.vader (renamed from test/command_callback/test_cpp_clangcheck_command_callbacks.vader)0
-rw-r--r--test/linter/test_cpp_clazy.vader (renamed from test/command_callback/test_cpp_clazy_command_callback.vader)0
-rw-r--r--test/linter/test_cpp_cppcheck.vader (renamed from test/command_callback/test_cpp_cppcheck_command_callbacks.vader)0
-rw-r--r--test/linter/test_cpp_cquery.vader (renamed from test/command_callback/test_cpp_cquery_command_callbacks.vader)0
-rw-r--r--test/linter/test_cpp_flawfinder.vader (renamed from test/command_callback/test_cpp_flawfinder_command_callbacks.vader)0
-rw-r--r--test/linter/test_cpplint.vader (renamed from test/command_callback/test_cpplint_command_callbacks.vader)0
-rw-r--r--test/linter/test_cs_csc.vader (renamed from test/command_callback/test_cs_csc_command_callbacks.vader)0
-rw-r--r--test/linter/test_cs_mcs.vader (renamed from test/command_callback/test_cs_mcs_command_callbacks.vader)0
-rw-r--r--test/linter/test_cs_mcsc.vader (renamed from test/command_callback/test_cs_mcsc_command_callbacks.vader)0
-rw-r--r--test/linter/test_cucumber.vader (renamed from test/command_callback/test_cucumber_command_callback.vader)0
-rw-r--r--test/linter/test_cuda_nvcc.vader (renamed from test/command_callback/test_cuda_nvcc_command_callbacks.vader)0
-rw-r--r--test/linter/test_cypher_cypher_lint.vader (renamed from test/command_callback/test_cypher_cypher_lint_command_callback.vader)0
-rw-r--r--test/linter/test_d_dls.vader (renamed from test/command_callback/test_d_dls_callbacks.vader)0
-rw-r--r--test/linter/test_dart_analysis_server.vader (renamed from test/command_callback/test_dart_analysis_server_command_callback.vader)0
-rw-r--r--test/linter/test_dart_language_server.vader (renamed from test/command_callback/test_dart_language_server_command_callback.vader)0
-rw-r--r--test/linter/test_dartanalyzer.vader (renamed from test/command_callback/test_dartanalyzer_command_callback.vader)0
-rw-r--r--test/linter/test_desktop_file_validate.vader (renamed from test/command_callback/test_desktop_file_validate.vader)0
-rw-r--r--test/linter/test_dialyxir.vader (renamed from test/command_callback/test_dialyxir_command_callback.vader)0
-rw-r--r--test/linter/test_dockerfile_lint.vader (renamed from test/command_callback/test_dockerfile_lint_command_callback.vader)0
-rw-r--r--test/linter/test_dogma.vader (renamed from test/command_callback/test_dogma_command_callback.vader)0
-rw-r--r--test/linter/test_eclipselsp.vader (renamed from test/command_callback/test_eclipselsp_command_callback.vader)0
-rw-r--r--test/linter/test_elixir_credo.vader (renamed from test/command_callback/test_elixir_credo_command_callback.vader)0
-rw-r--r--test/linter/test_elixir_ls.vader (renamed from test/command_callback/test_elixir_ls_command_callbacks.vader)0
-rw-r--r--test/linter/test_elixir_mix.vader (renamed from test/command_callback/test_elixir_mix_command_callbacks.vader)0
-rw-r--r--test/linter/test_elm_ls.vader (renamed from test/command_callback/test_elm_ls_command_callbacks.vader)0
-rw-r--r--test/linter/test_elm_make.vader (renamed from test/command_callback/test_elm_make_command_callback.vader)0
-rw-r--r--test/linter/test_embertemplatelint.vader (renamed from test/command_callback/test_embertemplatelint_command_callbacks.vader)0
-rw-r--r--test/linter/test_erb.vader (renamed from test/command_callback/test_erb_command_callback.vader)0
-rw-r--r--test/linter/test_erlang_dialyzer.vader (renamed from test/command_callback/test_erlang_dialyzer_command_callback.vader)0
-rw-r--r--test/linter/test_erlang_elvis.vader (renamed from test/command_callback/test_erlang_elvis_command_callback.vader)0
-rw-r--r--test/linter/test_erlang_erlc.vader (renamed from test/command_callback/test_erlang_erlc_command_callback.vader)0
-rw-r--r--test/linter/test_erlang_syntaxerl.vader (renamed from test/command_callback/test_erlang_syntaxerl_command_callback.vader)0
-rw-r--r--test/linter/test_erubi.vader (renamed from test/command_callback/test_erubi_command_callback.vader)0
-rw-r--r--test/linter/test_erubis.vader (renamed from test/command_callback/test_erubis_command_callback.vader)0
-rw-r--r--test/linter/test_eslint.vader (renamed from test/command_callback/test_eslint_command_callback.vader)0
-rw-r--r--test/linter/test_fecs.vader (renamed from test/command_callback/test_fecs_command_callback.vader)0
-rw-r--r--test/linter/test_flake8.vader (renamed from test/command_callback/test_flake8_command_callback.vader)0
-rw-r--r--test/linter/test_flow.vader (renamed from test/command_callback/test_flow_command_callback.vader)0
-rw-r--r--test/linter/test_foodcritic.vader (renamed from test/command_callback/test_foodcritic_command_callback.vader)0
-rw-r--r--test/linter/test_fortran_fortls.vader (renamed from test/command_callback/test_fortran_fortls_callback.vader)0
-rw-r--r--test/linter/test_fsc.vader (renamed from test/command_callback/test_fsc_command_callback.vader)0
-rw-r--r--test/linter/test_fusionlint.vader (renamed from test/command_callback/test_fusionlint_command_callback.vader)0
-rw-r--r--test/linter/test_gawk.vader (renamed from test/command_callback/test_gawk_command_callback.vader)0
-rw-r--r--test/linter/test_gfortran.vader (renamed from test/command_callback/test_gfortran_command_callback.vader)0
-rw-r--r--test/linter/test_ghdl.vader (renamed from test/command_callback/test_ghdl_command_callbacks.vader)0
-rw-r--r--test/linter/test_gitlint.vader (renamed from test/command_callback/test_gitlint_command_callback.vader)0
-rw-r--r--test/linter/test_glslang.vader (renamed from test/command_callback/test_glslang_command_callback.vader)0
-rw-r--r--test/linter/test_glslls.vader (renamed from test/command_callback/test_glslls_command_callback.vader)0
-rw-r--r--test/linter/test_gobuild.vader (renamed from test/command_callback/test_gobuild_command_callback.vader)0
-rw-r--r--test/linter/test_gofmt.vader (renamed from test/command_callback/test_gofmt_command_callback.vader)0
-rw-r--r--test/linter/test_golangci_lint.vader (renamed from test/command_callback/test_golangci_lint_command_callback.vader)0
-rw-r--r--test/linter/test_golangserver.vader (renamed from test/command_callback/test_golangserver_command_callback.vader)0
-rw-r--r--test/linter/test_golint.vader (renamed from test/command_callback/test_golint_command_callbacks.vader)0
-rw-r--r--test/linter/test_gometalinter.vader (renamed from test/command_callback/test_gometalinter_command_callback.vader)0
-rw-r--r--test/linter/test_gopls.vader (renamed from test/command_callback/test_gopls_command_callback.vader)0
-rw-r--r--test/linter/test_gosimple.vader (renamed from test/command_callback/test_gosimple_command_callback.vader)0
-rw-r--r--test/linter/test_gotype.vader (renamed from test/command_callback/test_gotype_command_callback.vader)0
-rw-r--r--test/linter/test_govet.vader (renamed from test/command_callback/test_govet_command_callback.vader)0
-rw-r--r--test/linter/test_graphql_gqlint.vader (renamed from test/command_callback/test_graphql_gqlint_command_callbacks.vader)0
-rw-r--r--test/linter/test_haml_hamllint.vader (renamed from test/command_callback/test_haml_hamllint_command_callback.vader)0
-rw-r--r--test/linter/test_haskell_cabal_ghc.vader (renamed from test/command_callback/test_haskell_cabal_ghc_command_callbacks.vader)0
-rw-r--r--test/linter/test_haskell_ghc.vader (renamed from test/command_callback/test_haskell_ghc_command_callbacks.vader)0
-rw-r--r--test/linter/test_haskell_ghc_mod.vader (renamed from test/command_callback/test_haskell_ghc_mod_command_callbacks.vader)0
-rw-r--r--test/linter/test_haskell_hdevtools.vader (renamed from test/command_callback/test_haskell_hdevtools_command_callbacks.vader)0
-rw-r--r--test/linter/test_haskell_hie.vader (renamed from test/command_callback/test_haskell_hie_callbacks.vader)0
-rw-r--r--test/linter/test_haskell_hlint.vader (renamed from test/command_callback/test_haskell_hlint_command_callbacks.vader)0
-rw-r--r--test/linter/test_haskell_hls.vader (renamed from test/command_callback/test_haskell_hls_callbacks.vader)0
-rw-r--r--test/linter/test_haskell_stack_build.vader (renamed from test/command_callback/test_haskell_stack_build_command_callback.vader)0
-rw-r--r--test/linter/test_haskell_stack_ghc.vader (renamed from test/command_callback/test_haskell_stack_ghc_command_callback.vader)0
-rw-r--r--test/linter/test_hdl_checker_options.vader (renamed from test/test_hdl_checker_options.vader)0
-rw-r--r--test/linter/test_html_stylelint.vader (renamed from test/command_callback/test_html_stylelint_command_callback.vader)2
-rw-r--r--test/linter/test_htmlhint.vader (renamed from test/command_callback/test_htmlhint_command_callback.vader)0
-rw-r--r--test/linter/test_ibm_openapi_validator.vader (renamed from test/command_callback/test_ibm_openapi_validator_command_callback.vader)0
-rw-r--r--test/linter/test_idris.vader (renamed from test/command_callback/test_idris_command_callbacks.vader)0
-rw-r--r--test/linter/test_ink_ls.vader (renamed from test/command_callback/test_ink_ls_command_callbacks.vader)0
-rw-r--r--test/linter/test_inko_inko.vader (renamed from test/command_callback/test_inko_inko_callbacks.vader)0
-rw-r--r--test/linter/test_ispc_ispc.vader (renamed from test/command_callback/test_ispc_ispc_command_callbacks.vader)0
-rw-r--r--test/linter/test_iverilog.vader (renamed from test/command_callback/test_iverilog_command_callback.vader)0
-rw-r--r--test/linter/test_javac.vader (renamed from test/command_callback/test_javac_command_callback.vader)0
-rw-r--r--test/linter/test_javalsp.vader (renamed from test/command_callback/test_javalsp_command_callback.vader)0
-rw-r--r--test/linter/test_javascript_tsserver.vader (renamed from test/command_callback/test_javascript_tsserver_command_callback.vader)0
-rw-r--r--test/linter/test_jq.vader (renamed from test/command_callback/test_jq_command_callback.vader)0
-rw-r--r--test/linter/test_jscs.vader (renamed from test/command_callback/test_jscs_command_callback.vader)0
-rw-r--r--test/linter/test_jshint.vader (renamed from test/command_callback/test_jshint_command_callback.vader)0
-rw-r--r--test/linter/test_julia_languageserver.vader (renamed from test/command_callback/test_julia_languageserver_callbacks.vader)0
-rw-r--r--test/linter/test_kotlin_languageserver.vader (renamed from test/command_callback/test_kotlin_languageserver_command_callback.vader)0
-rw-r--r--test/linter/test_kotlinc.vader (renamed from test/command_callback/test_kotlinc_command_callback.vader)0
-rw-r--r--test/linter/test_languagetool.vader (renamed from test/command_callback/test_languagetool_command_callback.vader)0
-rw-r--r--test/linter/test_less_stylelint.vader (renamed from test/command_callback/test_less_stylelint_command_callback.vader)0
-rw-r--r--test/linter/test_lessc.vader (renamed from test/command_callback/test_lessc_command_callback.vader)0
-rw-r--r--test/linter/test_lintr.vader (renamed from test/command_callback/test_lintr_command_callback.vader)0
-rw-r--r--test/linter/test_llc.vader (renamed from test/command_callback/test_llc_command_callback.vader)0
-rw-r--r--test/linter/test_luac.vader (renamed from test/command_callback/test_luac_command_callback.vader)0
-rw-r--r--test/linter/test_luacheck.vader (renamed from test/command_callback/test_luacheck_command_callback.vader)0
-rw-r--r--test/linter/test_markdown_markdownlint.vader (renamed from test/command_callback/test_markdown_markdownlint_command_callback.vader)0
-rw-r--r--test/linter/test_markdown_mdl.vader (renamed from test/command_callback/test_markdown_mdl_command_callback.vader)0
-rw-r--r--test/linter/test_markdown_vale.vader (renamed from test/command_callback/test_markdown_vale_command_callback.vader)0
-rw-r--r--test/linter/test_mercury_mmc.vader (renamed from test/command_callback/test_mercury_mmc_command_callback.vader)0
-rw-r--r--test/linter/test_mypy.vader (renamed from test/command_callback/test_mypy_command_callback.vader)0
-rw-r--r--test/linter/test_nagelfar.vader (renamed from test/command_callback/test_nagelfar_command_callbacks.vader)0
-rw-r--r--test/linter/test_nasm_nasm.vader (renamed from test/command_callback/test_nasm_nasm_command_callbacks.vader)0
-rw-r--r--test/linter/test_nimlsp.vader (renamed from test/command_callback/test_nimlsp_command_callback.vader)0
-rw-r--r--test/linter/test_objc_ccls.vader (renamed from test/command_callback/test_objc_ccls_command_callbacks.vader)0
-rw-r--r--test/linter/test_ocaml_ocamllsp.vader (renamed from test/command_callback/test_ocaml_ocamllsp_callbacks.vader)0
-rw-r--r--test/linter/test_ocaml_ols.vader (renamed from test/command_callback/test_ocaml_ols_callbacks.vader)0
-rw-r--r--test/linter/test_perl.vader (renamed from test/command_callback/test_perl_command_callback.vader)0
-rw-r--r--test/linter/test_perl6.vader (renamed from test/command_callback/test_perl6_command_callback.vader)0
-rw-r--r--test/linter/test_perlcritic.vader (renamed from test/command_callback/test_perlcritic_command_callback.vader)0
-rw-r--r--test/linter/test_php.vader (renamed from test/command_callback/test_php_command_callback.vader)0
-rw-r--r--test/linter/test_php_intelephense.vader (renamed from test/command_callback/test_php_intelephense_command_callback.vader)0
-rw-r--r--test/linter/test_php_langserver.vader (renamed from test/command_callback/test_php_langserver_callbacks.vader)0
-rw-r--r--test/linter/test_phpcs.vader (renamed from test/command_callback/test_phpcs_command_callback.vader)0
-rw-r--r--test/linter/test_phpmd.vader (renamed from test/command_callback/test_phpmd_command_callbacks.vader)0
-rw-r--r--test/linter/test_phpstan.vader (renamed from test/command_callback/test_phpstan_command_callbacks.vader)0
-rw-r--r--test/linter/test_pony_ponyc.vader (renamed from test/command_callback/test_pony_ponyc_command_callbacks.vader)0
-rw-r--r--test/linter/test_prospector.vader (renamed from test/command_callback/test_prospector_command_callback.vader)0
-rw-r--r--test/linter/test_proto.vader (renamed from test/command_callback/test_proto_command_callback.vader)0
-rw-r--r--test/linter/test_psalm.vader (renamed from test/command_callback/test_psalm_command_callbacks.vader)0
-rw-r--r--test/linter/test_puglint.vader (renamed from test/command_callback/test_puglint_command_callback.vader)0
-rw-r--r--test/linter/test_purescript_ls.vader (renamed from test/command_callback/test_purescript_ls_command_callbacks.vader)0
-rw-r--r--test/linter/test_pycodestyle.vader (renamed from test/command_callback/test_pycodestyle_command_callback.vader)0
-rw-r--r--test/linter/test_pydocstyle.vader (renamed from test/command_callback/test_pydocstyle_command_callback.vader)0
-rw-r--r--test/linter/test_pyflakes.vader (renamed from test/command_callback/test_pyflakes_command_callback.vader)0
-rw-r--r--test/linter/test_pylama.vader (renamed from test/command_callback/test_pylama_command_callback.vader)0
-rw-r--r--test/linter/test_pylint.vader (renamed from test/command_callback/test_pylint_command_callback.vader)0
-rw-r--r--test/linter/test_pyls.vader (renamed from test/command_callback/test_pyls_command_callback.vader)0
-rw-r--r--test/linter/test_pyre.vader (renamed from test/command_callback/test_pyre_command_callback.vader)0
-rw-r--r--test/linter/test_pyrex_cython.vader (renamed from test/command_callback/test_pyrex_cython_command_callback.vader)0
-rw-r--r--test/linter/test_pyright.vader (renamed from test/command_callback/test_pyright_command_callback.vader)0
-rw-r--r--test/linter/test_qmlfmt.vader (renamed from test/command_callback/test_qmlfmt_command_callback.vader)0
-rw-r--r--test/linter/test_r_languageserver.vader (renamed from test/command_callback/test_r_languageserver_callbacks.vader)0
-rw-r--r--test/linter/test_racket_raco.vader (renamed from test/command_callback/test_racket_raco_command_callback.vader)0
-rw-r--r--test/linter/test_rails_best_practices.vader (renamed from test/command_callback/test_rails_best_practices_command_callback.vader)0
-rw-r--r--test/linter/test_reason_ls.vader (renamed from test/command_callback/test_reason_ls_command_callback.vader)0
-rw-r--r--test/linter/test_reason_ols.vader (renamed from test/command_callback/test_reason_ols_callbacks.vader)0
-rw-r--r--test/linter/test_reek.vader (renamed from test/command_callback/test_reek_command_callback.vader)0
-rw-r--r--test/linter/test_remark_lint.vader (renamed from test/command_callback/test_remark_lint_command_callbacks.vader)0
-rw-r--r--test/linter/test_revive.vader (renamed from test/command_callback/test_revive_command_callbacks.vader)0
-rw-r--r--test/linter/test_rnix.vader (renamed from test/command_callback/test_rnix_command_callback.vader)0
-rw-r--r--test/linter/test_rst_textlint.vader (renamed from test/command_callback/test_rst_textlint_command_callbacks.vader)0
-rw-r--r--test/linter/test_rubocop.vader (renamed from test/command_callback/test_rubocop_command_callback.vader)0
-rw-r--r--test/linter/test_ruby.vader (renamed from test/command_callback/test_ruby_command_callback.vader)0
-rw-r--r--test/linter/test_ruby_debride.vader (renamed from test/command_callback/test_ruby_debride_command_callback.vader)0
-rw-r--r--test/linter/test_ruby_solargraph.vader (renamed from test/command_callback/test_ruby_solargraph.vader)9
-rw-r--r--test/linter/test_rust_analyzer.vader (renamed from test/command_callback/test_rust_analyzer_callbacks.vader)0
-rw-r--r--test/linter/test_rust_rls.vader (renamed from test/command_callback/test_rust_rls_callbacks.vader)0
-rw-r--r--test/linter/test_rustc.vader (renamed from test/command_callback/test_rustc_command_callback.vader)0
-rw-r--r--test/linter/test_ruumba.vader (renamed from test/command_callback/test_ruumba_command_callback.vader)0
-rw-r--r--test/linter/test_sass_sasslint.vader (renamed from test/command_callback/test_sass_sasslint_command_callback.vader)0
-rw-r--r--test/linter/test_scala_metals.vader (renamed from test/command_callback/test_scala_metals.vader)5
-rw-r--r--test/linter/test_scala_sbtserver.vader (renamed from test/command_callback/test_scala_sbtserver.vader)6
-rw-r--r--test/linter/test_scalac.vader (renamed from test/command_callback/test_scalac_command_callback.vader)0
-rw-r--r--test/linter/test_scalastyle.vader (renamed from test/command_callback/test_scalastyle_command_callback.vader)0
-rw-r--r--test/linter/test_scss_sasslint.vader (renamed from test/command_callback/test_scss_sasslint_command_callback.vader)0
-rw-r--r--test/linter/test_scss_stylelint.vader (renamed from test/command_callback/test_scss_stylelint_command_callback.vader)0
-rw-r--r--test/linter/test_shellcheck.vader (renamed from test/command_callback/test_shellcheck_command_callback.vader)0
-rw-r--r--test/linter/test_slimlint.vader (renamed from test/command_callback/test_slimlint_command_callback.vader)0
-rw-r--r--test/linter/test_solc.vader (renamed from test/command_callback/test_solc_command_callback.vader)0
-rw-r--r--test/linter/test_sorbet.vader (renamed from test/command_callback/test_sorbet_command_callback.vader)0
-rw-r--r--test/linter/test_spectral.vader (renamed from test/command_callback/test_spectral_command_callback.vader)0
-rw-r--r--test/linter/test_sqllint.vader (renamed from test/command_callback/test_sqllint_command_callback.vader)0
-rw-r--r--test/linter/test_standard.vader (renamed from test/command_callback/test_standard_command_callback.vader)0
-rw-r--r--test/linter/test_standardrb.vader (renamed from test/command_callback/test_standardrb_command_callback.vader)0
-rw-r--r--test/linter/test_standardts.vader (renamed from test/command_callback/test_standardts_command_callback.vader)0
-rw-r--r--test/linter/test_staticcheck.vader (renamed from test/command_callback/test_staticcheck_command_callback.vader)0
-rw-r--r--test/linter/test_sugarss_stylelint.vader (renamed from test/command_callback/test_sugarss_stylelint_command_callback.vader)0
-rw-r--r--test/linter/test_svelteserver.vader (renamed from test/command_callback/test_svelteserver_command_callback.vader)0
-rw-r--r--test/linter/test_swaglint.vader (renamed from test/command_callback/test_swaglint_command_callback.vader)0
-rw-r--r--test/linter/test_swift_sourcekitlsp.vader (renamed from test/command_callback/test_swift_sourcekitlsp_command_callbacks.vader)0
-rw-r--r--test/linter/test_swift_swiftformat.vader (renamed from test/command_callback/test_swift_swiftformat_command_callbacks.vader)0
-rw-r--r--test/linter/test_swiftlint.vader (renamed from test/command_callback/test_swiftlint_command_callback.vader)0
-rw-r--r--test/linter/test_systemd_analyze.vader (renamed from test/command_callback/test_systemd_analyze_command_callback.vader)0
-rw-r--r--test/linter/test_terraform_ls.vader (renamed from test/command_callback/test_terraform_ls_command_callback.vader)0
-rw-r--r--test/linter/test_terraform_lsp.vader (renamed from test/command_callback/test_terraform_lsp_command_callback.vader)0
-rw-r--r--test/linter/test_terraform_terraform.vader (renamed from test/command_callback/test_terraform_terraform_command_callback.vader)0
-rw-r--r--test/linter/test_terraform_tflint.vader (renamed from test/command_callback/test_terraform_tflint_command_callback.vader)0
-rw-r--r--test/linter/test_tex_lacheck.vader (renamed from test/command_callback/test_tex_lacheck_command_callback.vader)0
-rw-r--r--test/linter/test_tex_textlint.vader (renamed from test/command_callback/test_tex_textlint_command_callbacks.vader)0
-rw-r--r--test/linter/test_texlab.vader (renamed from test/command_callback/test_texlab_command_callbacks.vader)0
-rw-r--r--test/linter/test_textlint.vader (renamed from test/command_callback/test_textlint_command_callbacks.vader)0
-rw-r--r--test/linter/test_thrift.vader (renamed from test/command_callback/test_thrift_command_callback.vader)0
-rw-r--r--test/linter/test_tslint.vader (renamed from test/command_callback/test_tslint_command_callback.vader)0
-rw-r--r--test/linter/test_typescript_deno_lsp.vader (renamed from test/command_callback/test_typescript_deno_lsp.vader)0
-rw-r--r--test/linter/test_typescript_tsserver.vader (renamed from test/command_callback/test_typescript_tsserver_command_callback.vader)0
-rw-r--r--test/linter/test_vcom.vader (renamed from test/command_callback/test_vcom_command_callbacks.vader)0
-rw-r--r--test/linter/test_verilator.vader (renamed from test/command_callback/test_verilator_command_callback.vader)0
-rw-r--r--test/linter/test_vim_vimls.vader (renamed from test/command_callback/test_vim_vimls.vader)0
-rw-r--r--test/linter/test_vint.vader (renamed from test/command_callback/test_vint_command_callback.vader)0
-rw-r--r--test/linter/test_vlog.vader (renamed from test/command_callback/test_vlog_command_callbacks.vader)0
-rw-r--r--test/linter/test_vulture.vader (renamed from test/command_callback/test_vulture_command_callback.vader)0
-rw-r--r--test/linter/test_write_good.vader (renamed from test/command_callback/test_write_good_command_callback.vader)0
-rw-r--r--test/linter/test_xmllint.vader (renamed from test/command_callback/test_xmllint_command_callback.vader)0
-rw-r--r--test/linter/test_xo.vader (renamed from test/command_callback/test_xo_command_callback.vader)0
-rw-r--r--test/linter/test_xots.vader (renamed from test/command_callback/test_xots_command_callback.vader)0
-rw-r--r--test/linter/test_xvhdl.vader (renamed from test/command_callback/test_xvhdl_command_callbacks.vader)0
-rw-r--r--test/linter/test_xvlog.vader (renamed from test/command_callback/test_xvlog_command_callbacks.vader)0
-rw-r--r--test/linter/test_yang_lsp.vader (renamed from test/command_callback/test_yang_lsp_command_callbacks.vader)0
-rw-r--r--test/linter/test_zig_zls.vader (renamed from test/command_callback/test_zig_zls_callbacks.vader)0
256 files changed, 40 insertions, 144 deletions
diff --git a/ale_linters/json/jq.vim b/ale_linters/json/jq.vim
index dd6ed0a6..2f36a29e 100644
--- a/ale_linters/json/jq.vim
+++ b/ale_linters/json/jq.vim
@@ -1,32 +1,24 @@
" Author: jD91mZM2 <me@krake.one>
+call ale#Set('json_jq_executable', 'jq')
+call ale#Set('json_jq_options', '')
+call ale#Set('json_jq_filters', '.')
-function! ale_linters#json#jq#GetCommand(buffer) abort
- let l:executable = ale#fixers#jq#GetExecutable(a:buffer)
-
- return ale#Escape(l:executable)
-endfunction
+" Matches patterns like the following:
+" parse error: Expected another key-value pair at line 4, column 3
+let s:pattern = '^parse error: \(.\+\) at line \(\d\+\), column \(\d\+\)$'
function! ale_linters#json#jq#Handle(buffer, lines) abort
- " Matches patterns like the following:
- " parse error: Expected another key-value pair at line 4, column 3
- let l:pattern = '^parse error: \(.\+\) at line \(\d\+\), column \(\d\+\)$'
- let l:output = []
-
- for l:match in ale#util#GetMatches(a:lines, l:pattern)
- call add(l:output, {
- \ 'text': l:match[1],
- \ 'lnum': l:match[2] + 0,
- \ 'col': l:match[3] + 0,
- \})
- endfor
-
- return l:output
+ return ale#util#MapMatches(a:lines, s:pattern, {match -> {
+ \ 'text': match[1],
+ \ 'lnum': match[2] + 0,
+ \ 'col': match[3] + 0,
+ \}})
endfunction
call ale#linter#Define('json', {
\ 'name': 'jq',
-\ 'executable': function('ale#fixers#jq#GetExecutable'),
+\ 'executable': {b -> ale#Var(b, 'json_jq_executable')},
\ 'output_stream': 'stderr',
-\ 'command': function('ale_linters#json#jq#GetCommand'),
+\ 'command': '%e',
\ 'callback': 'ale_linters#json#jq#Handle',
\})
diff --git a/autoload/ale/assert.vim b/autoload/ale/assert.vim
index 8200a3bf..141cd0f2 100644
--- a/autoload/ale/assert.vim
+++ b/autoload/ale/assert.vim
@@ -293,7 +293,7 @@ function! ale#assert#SetUpLinterTest(filetype, name) abort
execute 'runtime ale_linters/' . a:filetype . '/' . a:name . '.vim'
if !exists('g:dir')
- call ale#test#SetDirectory('/testplugin/test/command_callback')
+ call ale#test#SetDirectory('/testplugin/test/linter')
endif
call ale#assert#SetUpLinterTestCommands()
diff --git a/doc/ale-development.txt b/doc/ale-development.txt
index 3436b531..7f8ec28f 100644
--- a/doc/ale-development.txt
+++ b/doc/ale-development.txt
@@ -181,7 +181,7 @@ Generally write tests for any changes you make. The following types of tests
are recommended for the following types of code.
* New/edited error handler callbacks -> Write tests in `test/handler`
-* New/edited command callbacks -> Write tests in `test/command_callback`
+* New/edited linter definition -> Write tests in `test/linter`
* New/edited fixer functions -> Write tests in `test/fixers`
Look at existing tests in the codebase for examples of how to write tests.
@@ -278,8 +278,8 @@ be written like so. >
\ '1:Something went wrong',
\ ]
<
-Tests for what ALE runs should go in the `test/command_callback` directory,
-and should be written like so. >
+Tests for what ALE runs should go in the `test/linter` directory, and should
+be written like so. >
Before:
" Load the linter and set up a series of commands, reset linter variables,
diff --git a/test/completion/test_completion_events.vader b/test/completion/test_completion_events.vader
index 30bf603c..1b760e2c 100644
--- a/test/completion/test_completion_events.vader
+++ b/test/completion/test_completion_events.vader
@@ -11,6 +11,10 @@ Before:
let g:feedkeys_calls = []
let g:fake_mode = 'i'
+ let b:ale_linters = {
+ \ 'typescript': ['tsserver'],
+ \}
+
let &l:completeopt = 'menu,menuone,preview,noselect,noinsert'
runtime autoload/ale/util.vim
@@ -69,6 +73,7 @@ After:
unlet! b:ale_completion_info
unlet! b:ale_completion_result
unlet! b:ale_complete_done_time
+ unlet! b:ale_linters
delfunction CheckCompletionCalled
delfunction ale#code_action#HandleCodeAction
diff --git a/test/fixers/test_autoimport_fixer_callback.vader b/test/fixers/test_autoimport_fixer_callback.vader
index 67dc46e9..edca5c38 100644
--- a/test/fixers/test_autoimport_fixer_callback.vader
+++ b/test/fixers/test_autoimport_fixer_callback.vader
@@ -7,9 +7,6 @@ Before:
let g:ale_python_autoimport_options = ''
call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
let b:bin_dir = has('win32') ? 'Scripts' : 'bin'
diff --git a/test/fixers/test_autopep8_fixer_callback.vader b/test/fixers/test_autopep8_fixer_callback.vader
index 9ca90c41..46671eda 100644
--- a/test/fixers/test_autopep8_fixer_callback.vader
+++ b/test/fixers/test_autopep8_fixer_callback.vader
@@ -7,8 +7,6 @@ Before:
let g:ale_python_autopep8_options = ''
call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ..
- silent cd command_callback
let g:dir = getcwd()
let b:bin_dir = has('win32') ? 'Scripts' : 'bin'
diff --git a/test/fixers/test_bibclean_fixer_callback.vader b/test/fixers/test_bibclean_fixer_callback.vader
index dd1313d2..88412eca 100644
--- a/test/fixers/test_bibclean_fixer_callback.vader
+++ b/test/fixers/test_bibclean_fixer_callback.vader
@@ -12,7 +12,7 @@ After:
call ale#test#RestoreDirectory()
Execute(The bibclean callback should return the correct default values):
- call ale#test#SetFilename('../command_callback/../test-files/bib/dummy.bib')
+ call ale#test#SetFilename('../test-files/bib/dummy.bib')
AssertEqual
\ {'command': ale#Escape(g:ale_bib_bibclean_executable) . ' -align-equals'},
@@ -20,7 +20,7 @@ Execute(The bibclean callback should return the correct default values):
Execute(The bibclean callback should include custom bibclean options):
let g:ale_bib_bibclean_options = '-author -check-values'
- call ale#test#SetFilename('../command_callback/../test-files/bib/dummy.bib')
+ call ale#test#SetFilename('../test-files/bib/dummy.bib')
AssertEqual
\ {
diff --git a/test/fixers/test_black_fixer_callback.vader b/test/fixers/test_black_fixer_callback.vader
index 6e9f3de7..665ba78b 100644
--- a/test/fixers/test_black_fixer_callback.vader
+++ b/test/fixers/test_black_fixer_callback.vader
@@ -1,8 +1,6 @@
Before:
call ale#assert#SetUpFixerTest('python', 'black')
- silent cd ..
- silent cd command_callback
let g:dir = getcwd()
let b:bin_dir = has('win32') ? 'Scripts' : 'bin'
diff --git a/test/fixers/test_clangformat_fixer_callback.vader b/test/fixers/test_clangformat_fixer_callback.vader
index 3e4546d1..130ca7f7 100644
--- a/test/fixers/test_clangformat_fixer_callback.vader
+++ b/test/fixers/test_clangformat_fixer_callback.vader
@@ -7,8 +7,6 @@ Before:
let g:ale_c_clangformat_executable = 'xxxinvalid'
call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ..
- silent cd command_callback
let g:dir = getcwd()
After:
diff --git a/test/fixers/test_clangtidy_fixer_callback.vader b/test/fixers/test_clangtidy_fixer_callback.vader
index 7a04e801..d6678bd9 100644
--- a/test/fixers/test_clangtidy_fixer_callback.vader
+++ b/test/fixers/test_clangtidy_fixer_callback.vader
@@ -17,8 +17,6 @@ Before:
let g:ale_c_build_dir = ''
call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ../command_callback
- let g:dir = getcwd()
After:
Restore
diff --git a/test/fixers/test_fecs_fixer_callback.vader b/test/fixers/test_fecs_fixer_callback.vader
index b218e550..146c0a87 100644
--- a/test/fixers/test_fecs_fixer_callback.vader
+++ b/test/fixers/test_fecs_fixer_callback.vader
@@ -8,8 +8,6 @@ After:
Execute(The fecs fixer should respect to g:ale_javascript_fecs_executable):
let g:ale_javascript_fecs_executable = '../test-files/fecs/fecs'
let g:ale_javascript_fecs_use_global = 1
- silent cd ../command_callback
- let g:dir = getcwd()
AssertEqual
\ {
diff --git a/test/fixers/test_html_beautify_fixer_callback.vader b/test/fixers/test_html_beautify_fixer_callback.vader
index 372572e4..3012c7f1 100644
--- a/test/fixers/test_html_beautify_fixer_callback.vader
+++ b/test/fixers/test_html_beautify_fixer_callback.vader
@@ -1,10 +1,6 @@
Before:
call ale#assert#SetUpFixerTest('html', 'html-beautify', 'beautify')
- call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ..
- silent cd command_callback
-
After:
Restore
diff --git a/test/fixers/test_isort_fixer_callback.vader b/test/fixers/test_isort_fixer_callback.vader
index 5f3cc447..9e112c03 100644
--- a/test/fixers/test_isort_fixer_callback.vader
+++ b/test/fixers/test_isort_fixer_callback.vader
@@ -1,9 +1,6 @@
Before:
call ale#assert#SetUpFixerTest('python', 'isort')
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
let b:bin_dir = has('win32') ? 'Scripts' : 'bin'
After:
diff --git a/test/fixers/test_php_cs_fixer.vader b/test/fixers/test_php_cs_fixer.vader
index 550f453c..eb4d78f8 100644
--- a/test/fixers/test_php_cs_fixer.vader
+++ b/test/fixers/test_php_cs_fixer.vader
@@ -5,9 +5,6 @@ Before:
let g:ale_php_cs_fixer_options = ''
call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
After:
Restore
diff --git a/test/fixers/test_phpcbf_fixer_callback.vader b/test/fixers/test_phpcbf_fixer_callback.vader
index 2d44a44d..45229a1b 100644
--- a/test/fixers/test_phpcbf_fixer_callback.vader
+++ b/test/fixers/test_phpcbf_fixer_callback.vader
@@ -9,9 +9,6 @@ Before:
let g:ale_php_phpcbf_use_global = 0
call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
After:
Restore
@@ -75,9 +72,6 @@ Before:
let g:ale_php_phpcbf_use_global = 0
call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
After:
Restore
diff --git a/test/fixers/test_prettier_fixer_callback.vader b/test/fixers/test_prettier_fixer_callback.vader
index 7e7b661d..8da13fcd 100644
--- a/test/fixers/test_prettier_fixer_callback.vader
+++ b/test/fixers/test_prettier_fixer_callback.vader
@@ -4,10 +4,6 @@ Before:
let g:ale_command_wrapper = ''
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
-
After:
call ale#assert#TearDownFixerTest()
diff --git a/test/fixers/test_prettier_standard_callback.vader b/test/fixers/test_prettier_standard_callback.vader
index d0cf4ecf..f5037ed6 100644
--- a/test/fixers/test_prettier_standard_callback.vader
+++ b/test/fixers/test_prettier_standard_callback.vader
@@ -1,10 +1,6 @@
Before:
call ale#assert#SetUpFixerTest('javascript', 'prettier_standard')
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
-
After:
call ale#assert#TearDownFixerTest()
diff --git a/test/fixers/test_puppetlint_fixer_callback.vader b/test/fixers/test_puppetlint_fixer_callback.vader
index 5ccb0137..1a5a6cea 100644
--- a/test/fixers/test_puppetlint_fixer_callback.vader
+++ b/test/fixers/test_puppetlint_fixer_callback.vader
@@ -7,9 +7,6 @@ Before:
let g:ale_puppet_puppetlint_options = '--invalid'
call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
After:
Restore
diff --git a/test/fixers/test_reorder_python_imports_fixer_callback.vader b/test/fixers/test_reorder_python_imports_fixer_callback.vader
index 74f3715d..ead2da77 100644
--- a/test/fixers/test_reorder_python_imports_fixer_callback.vader
+++ b/test/fixers/test_reorder_python_imports_fixer_callback.vader
@@ -7,9 +7,6 @@ Before:
let g:ale_python_reorder_python_imports_options = ''
call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
let b:bin_dir = has('win32') ? 'Scripts' : 'bin'
diff --git a/test/fixers/test_rubocop_fixer_callback.vader b/test/fixers/test_rubocop_fixer_callback.vader
index 2029df23..5b5375ae 100644
--- a/test/fixers/test_rubocop_fixer_callback.vader
+++ b/test/fixers/test_rubocop_fixer_callback.vader
@@ -7,9 +7,6 @@ Before:
let g:ale_ruby_rubocop_options = ''
call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
After:
Restore
diff --git a/test/fixers/test_rufo_fixer_callback.vader b/test/fixers/test_rufo_fixer_callback.vader
index 54361784..3d539f7a 100644
--- a/test/fixers/test_rufo_fixer_callback.vader
+++ b/test/fixers/test_rufo_fixer_callback.vader
@@ -4,8 +4,7 @@ Before:
" Use an invalid global executable, so we don't match it.
let g:ale_ruby_rufo_executable = 'xxxinvalid'
- call ale#test#SetDirectory('/testplugin/test/command_callback')
- let g:dir = getcwd()
+ call ale#test#SetDirectory('/testplugin/test/fixers')
After:
Restore
diff --git a/test/fixers/test_scalafmt_fixer_callback.vader b/test/fixers/test_scalafmt_fixer_callback.vader
index 94f544a1..2b8dc3eb 100644
--- a/test/fixers/test_scalafmt_fixer_callback.vader
+++ b/test/fixers/test_scalafmt_fixer_callback.vader
@@ -7,9 +7,6 @@ Before:
let g:ale_scala_scalafmt_options = ''
call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
After:
Restore
diff --git a/test/fixers/test_sorbet_fixer_callback.vader b/test/fixers/test_sorbet_fixer_callback.vader
index deb2b4e0..2694a3dc 100644
--- a/test/fixers/test_sorbet_fixer_callback.vader
+++ b/test/fixers/test_sorbet_fixer_callback.vader
@@ -1,4 +1,3 @@
-
Before:
Save g:ale_ruby_sorbet_executable
Save g:ale_ruby_sorbet_options
@@ -8,9 +7,6 @@ Before:
let g:ale_ruby_sorbet_options = ''
call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
After:
Restore
diff --git a/test/fixers/test_standardrb_fixer_callback.vader b/test/fixers/test_standardrb_fixer_callback.vader
index 31684c29..ff82b8f1 100644
--- a/test/fixers/test_standardrb_fixer_callback.vader
+++ b/test/fixers/test_standardrb_fixer_callback.vader
@@ -7,9 +7,6 @@ Before:
let g:ale_ruby_standardrb_options = ''
call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
After:
Restore
diff --git a/test/fixers/test_swiftformat_fixer_callback.vader b/test/fixers/test_swiftformat_fixer_callback.vader
index d307c2b1..755c30f6 100644
--- a/test/fixers/test_swiftformat_fixer_callback.vader
+++ b/test/fixers/test_swiftformat_fixer_callback.vader
@@ -5,9 +5,6 @@ Before:
let g:ale_swift_swiftformat_executable = 'xxxinvalid'
call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
After:
Restore
diff --git a/test/fixers/test_tidy_fixer_callback.vader b/test/fixers/test_tidy_fixer_callback.vader
index a588d75e..25d3d6c3 100644
--- a/test/fixers/test_tidy_fixer_callback.vader
+++ b/test/fixers/test_tidy_fixer_callback.vader
@@ -5,10 +5,6 @@ Before:
call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
-
After:
Restore
diff --git a/test/fixers/test_tslint_fixer_callback.vader b/test/fixers/test_tslint_fixer_callback.vader
index 2bcbddf7..43fcc5a4 100644
--- a/test/fixers/test_tslint_fixer_callback.vader
+++ b/test/fixers/test_tslint_fixer_callback.vader
@@ -8,10 +8,7 @@ Before:
unlet! b:ale_typescript_tslint_config_path
call ale#handlers#tslint#InitVariables()
-
- call ale#test#SetDirectory('/testplugin/test/command_callback')
- silent cd ..
- silent cd command_callback
+ call ale#test#SetDirectory('/testplugin/test/fixers')
After:
Restore
diff --git a/test/fixers/test_uncrustify_fixer_callback.vader b/test/fixers/test_uncrustify_fixer_callback.vader
index 6c7f6b5d..26b5f892 100644
--- a/test/fixers/test_uncrustify_fixer_callback.vader
+++ b/test/fixers/test_uncrustify_fixer_callback.vader
@@ -5,9 +5,6 @@ Before:
let g:ale_c_uncrustify_executable = 'xxxinvalid'
call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
After:
Restore
diff --git a/test/fixers/test_yamlfix_fixer_callback.vader b/test/fixers/test_yamlfix_fixer_callback.vader
index 4038de16..1ae5e335 100644
--- a/test/fixers/test_yamlfix_fixer_callback.vader
+++ b/test/fixers/test_yamlfix_fixer_callback.vader
@@ -1,10 +1,6 @@
Before:
call ale#assert#SetUpFixerTest('yaml', 'yamlfix')
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
-
let b:bin_dir = has('win32') ? 'Scripts' : 'bin'
After:
diff --git a/test/fixers/test_yapf_fixer_callback.vader b/test/fixers/test_yapf_fixer_callback.vader
index 2f7a12b7..a7fcc07b 100644
--- a/test/fixers/test_yapf_fixer_callback.vader
+++ b/test/fixers/test_yapf_fixer_callback.vader
@@ -5,9 +5,6 @@ Before:
let g:ale_python_yapf_executable = 'xxxinvalid'
call ale#test#SetDirectory('/testplugin/test/fixers')
- silent cd ..
- silent cd command_callback
- let g:dir = getcwd()
let b:bin_dir = has('win32') ? 'Scripts' : 'bin'
diff --git a/test/handler/test_lacheck_handler.vader b/test/handler/test_lacheck_handler.vader
index 5a4f92dd..5d1b6ace 100644
--- a/test/handler/test_lacheck_handler.vader
+++ b/test/handler/test_lacheck_handler.vader
@@ -1,14 +1,13 @@
Before:
runtime ale_linters/tex/lacheck.vim
- call ale#test#SetDirectory('/testplugin/test')
+ call ale#test#SetDirectory('/testplugin/test/handler')
After:
call ale#linter#Reset()
call ale#test#RestoreDirectory()
Execute(The lacheck handler should parse lines correctly):
-
- call ale#test#SetFilename('command_callback/../test-files/tex/sample1.tex')
+ call ale#test#SetFilename('../test-files/tex/sample1.tex')
AssertEqual
\ [
@@ -24,7 +23,6 @@ Execute(The lacheck handler should parse lines correctly):
\ ])
Execute(The lacheck handler should ignore errors from input files):
-
call ale#test#SetFilename('ale_test.tex')
AssertEqual
diff --git a/test/command_callback/test_ada_gcc_command_callbacks.vader b/test/linter/test_ada_gcc.vader
index 906b31a4..906b31a4 100644
--- a/test/command_callback/test_ada_gcc_command_callbacks.vader
+++ b/test/linter/test_ada_gcc.vader
diff --git a/test/command_callback/test_adals_command_callbacks.vader b/test/linter/test_adals.vader
index 5a04594e..5a04594e 100644
--- a/test/command_callback/test_adals_command_callbacks.vader
+++ b/test/linter/test_adals.vader
diff --git a/test/command_callback/test_alex_command_callback.vader b/test/linter/test_alex.vader
index 20e20301..20e20301 100644
--- a/test/command_callback/test_alex_command_callback.vader
+++ b/test/linter/test_alex.vader
diff --git a/test/command_callback/test_ameba_command_callback.vader b/test/linter/test_ameba.vader
index 7746b44f..7746b44f 100644
--- a/test/command_callback/test_ameba_command_callback.vader
+++ b/test/linter/test_ameba.vader
diff --git a/test/command_callback/test_angular_command_callback.vader b/test/linter/test_angular.vader
index fe0749a1..fe0749a1 100644
--- a/test/command_callback/test_angular_command_callback.vader
+++ b/test/linter/test_angular.vader
diff --git a/test/command_callback/test_ansible_lint_command_callback.vader b/test/linter/test_ansible_lint.vader
index a3fbde23..a3fbde23 100644
--- a/test/command_callback/test_ansible_lint_command_callback.vader
+++ b/test/linter/test_ansible_lint.vader
diff --git a/test/command_callback/test_asciidoc_textlint_command_callbacks.vader b/test/linter/test_asciidoc_textlint.vader
index a79a0ae3..a79a0ae3 100644
--- a/test/command_callback/test_asciidoc_textlint_command_callbacks.vader
+++ b/test/linter/test_asciidoc_textlint.vader
diff --git a/test/command_callback/test_asm_gcc_command_callbacks.vader b/test/linter/test_asm_gcc.vader
index 5976b5f2..5976b5f2 100644
--- a/test/command_callback/test_asm_gcc_command_callbacks.vader
+++ b/test/linter/test_asm_gcc.vader
diff --git a/test/command_callback/test_bandit_command_callback.vader b/test/linter/test_bandit.vader
index 3d3a60a3..3d3a60a3 100644
--- a/test/command_callback/test_bandit_command_callback.vader
+++ b/test/linter/test_bandit.vader
diff --git a/test/command_callback/test_bashate_command_callback.vader b/test/linter/test_bashate.vader
index 714cf690..714cf690 100644
--- a/test/command_callback/test_bashate_command_callback.vader
+++ b/test/linter/test_bashate.vader
diff --git a/test/command_callback/test_bib_bibclean_command_callback.vader b/test/linter/test_bib_bibclean.vader
index fa6f7d33..fa6f7d33 100644
--- a/test/command_callback/test_bib_bibclean_command_callback.vader
+++ b/test/linter/test_bib_bibclean.vader
diff --git a/test/command_callback/test_bingo_command_callback.vader b/test/linter/test_bingo.vader
index d8328414..d8328414 100644
--- a/test/command_callback/test_bingo_command_callback.vader
+++ b/test/linter/test_bingo.vader
diff --git a/test/command_callback/test_brakeman_command_callback.vader b/test/linter/test_brakeman.vader
index d3bf1920..d3bf1920 100644
--- a/test/command_callback/test_brakeman_command_callback.vader
+++ b/test/linter/test_brakeman.vader
diff --git a/test/command_callback/test_c_cc_command_callbacks.vader b/test/linter/test_c_cc.vader
index c8c2de7d..c8c2de7d 100644
--- a/test/command_callback/test_c_cc_command_callbacks.vader
+++ b/test/linter/test_c_cc.vader
diff --git a/test/command_callback/test_c_ccls_command_callbacks.vader b/test/linter/test_c_ccls.vader
index a4f575c6..a4f575c6 100644
--- a/test/command_callback/test_c_ccls_command_callbacks.vader
+++ b/test/linter/test_c_ccls.vader
diff --git a/test/command_callback/test_c_clang_tidy_command_callback.vader b/test/linter/test_c_clang_tidy.vader
index c4433550..c4433550 100644
--- a/test/command_callback/test_c_clang_tidy_command_callback.vader
+++ b/test/linter/test_c_clang_tidy.vader
diff --git a/test/command_callback/test_c_clangd_command_callbacks.vader b/test/linter/test_c_clangd.vader
index 438bc80e..b7a4e029 100644
--- a/test/command_callback/test_c_clangd_command_callbacks.vader
+++ b/test/linter/test_c_clangd.vader
@@ -1,9 +1,6 @@
Before:
call ale#assert#SetUpLinterTest('c', 'clangd')
- Save &filetype
- let &filetype = 'c'
-
Save b:ale_c_clangd_options
Save b:ale_c_build_dir
Save b:ale_c_build_dir_names
@@ -48,4 +45,3 @@ Execute(The compile command database should be detected correctly):
AssertLinter 'clangd', ale#Escape('clangd')
\ . ' -compile-commands-dir='
\ . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/clangd/with_build_dir/unusual_build_dir_name'))
-
diff --git a/test/command_callback/test_c_cppcheck_command_callbacks.vader b/test/linter/test_c_cppcheck.vader
index 40685dab..c84053f8 100644
--- a/test/command_callback/test_c_cppcheck_command_callbacks.vader
+++ b/test/linter/test_c_cppcheck.vader
@@ -3,12 +3,6 @@ Before:
let b:command_tail = ' -q --language=c --template=' . ale#Escape('{file}:{line}:{column}: {severity}:{inconclusive:inconclusive:} {message} [{id}]\\n{code}') . ' --enable=style -I' . ale#Escape(ale#path#Simplify(g:dir)) .' %t'
After:
- " Remove a test file we might open for some tests.
- if &buftype != 'nofile'
- :q!
- set buftype=nofile
- endif
-
unlet! b:command_tail
call ale#assert#TearDownLinterTest()
@@ -50,17 +44,3 @@ Execute(cppcheck for C should include file dir if compile_commands.json file is
\ . ' --enable=style'
\ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/cppcheck'))
\ . ' %t'
-
-Execute(cppcheck for C should ignore compile_commands.json file if buffer is modified):
- call ale#test#SetFilename('../test-files/cppcheck/one/foo.c')
-
- set buftype=
- set modified
-
- AssertLinterCwd ale#path#Simplify(g:dir . '/../test-files/cppcheck/one')
- AssertLinter 'cppcheck', ale#Escape('cppcheck')
- \ . ' -q --language=c'
- \ . ' --template=' . ale#Escape('{file}:{line}:{column}: {severity}:{inconclusive:inconclusive:} {message} [{id}]\\n{code}')
- \ . ' --enable=style'
- \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/cppcheck/one'))
- \ . ' %t'
diff --git a/test/command_callback/test_c_cquery_command_callbacks.vader b/test/linter/test_c_cquery.vader
index bca0dbbc..bca0dbbc 100644
--- a/test/command_callback/test_c_cquery_command_callbacks.vader
+++ b/test/linter/test_c_cquery.vader
diff --git a/test/command_callback/test_c_flawfinder_command_callbacks.vader b/test/linter/test_c_flawfinder.vader
index 38385e2b..38385e2b 100644
--- a/test/command_callback/test_c_flawfinder_command_callbacks.vader
+++ b/test/linter/test_c_flawfinder.vader
diff --git a/test/command_callback/test_c_import_paths.vader b/test/linter/test_c_import_paths.vader
index 19e39915..19e39915 100644
--- a/test/command_callback/test_c_import_paths.vader
+++ b/test/linter/test_c_import_paths.vader
diff --git a/test/command_callback/test_cargo_command_callbacks.vader b/test/linter/test_cargo.vader
index 25dd0253..25dd0253 100644
--- a/test/command_callback/test_cargo_command_callbacks.vader
+++ b/test/linter/test_cargo.vader
diff --git a/test/command_callback/test_checkstyle_command_callback.vader b/test/linter/test_checkstyle.vader
index 8197e6b5..8197e6b5 100644
--- a/test/command_callback/test_checkstyle_command_callback.vader
+++ b/test/linter/test_checkstyle.vader
diff --git a/test/command_callback/test_clang_tidy_command_callback.vader b/test/linter/test_clang_tidy.vader
index eb1220be..eb1220be 100644
--- a/test/command_callback/test_clang_tidy_command_callback.vader
+++ b/test/linter/test_clang_tidy.vader
diff --git a/test/command_callback/test_cookstyle_command_callback.vader b/test/linter/test_cookstyle.vader
index ad7391cc..ad7391cc 100644
--- a/test/command_callback/test_cookstyle_command_callback.vader
+++ b/test/linter/test_cookstyle.vader
diff --git a/test/command_callback/test_cpp_cc_command_callbacks.vader b/test/linter/test_cpp_cc.vader
index dec3a07c..dec3a07c 100644
--- a/test/command_callback/test_cpp_cc_command_callbacks.vader
+++ b/test/linter/test_cpp_cc.vader
diff --git a/test/command_callback/test_cpp_ccls_command_callbacks.vader b/test/linter/test_cpp_ccls.vader
index 12aa30e3..12aa30e3 100644
--- a/test/command_callback/test_cpp_ccls_command_callbacks.vader
+++ b/test/linter/test_cpp_ccls.vader
diff --git a/test/command_callback/test_cpp_clangcheck_command_callbacks.vader b/test/linter/test_cpp_clangcheck.vader
index 188141d5..188141d5 100644
--- a/test/command_callback/test_cpp_clangcheck_command_callbacks.vader
+++ b/test/linter/test_cpp_clangcheck.vader
diff --git a/test/command_callback/test_cpp_clazy_command_callback.vader b/test/linter/test_cpp_clazy.vader
index e5a81b8f..e5a81b8f 100644
--- a/test/command_callback/test_cpp_clazy_command_callback.vader
+++ b/test/linter/test_cpp_clazy.vader
diff --git a/test/command_callback/test_cpp_cppcheck_command_callbacks.vader b/test/linter/test_cpp_cppcheck.vader
index 62195803..62195803 100644
--- a/test/command_callback/test_cpp_cppcheck_command_callbacks.vader
+++ b/test/linter/test_cpp_cppcheck.vader
diff --git a/test/command_callback/test_cpp_cquery_command_callbacks.vader b/test/linter/test_cpp_cquery.vader
index f638e401..f638e401 100644
--- a/test/command_callback/test_cpp_cquery_command_callbacks.vader
+++ b/test/linter/test_cpp_cquery.vader
diff --git a/test/command_callback/test_cpp_flawfinder_command_callbacks.vader b/test/linter/test_cpp_flawfinder.vader
index 3f4067ea..3f4067ea 100644
--- a/test/command_callback/test_cpp_flawfinder_command_callbacks.vader
+++ b/test/linter/test_cpp_flawfinder.vader
diff --git a/test/command_callback/test_cpplint_command_callbacks.vader b/test/linter/test_cpplint.vader
index d5fd457b..d5fd457b 100644
--- a/test/command_callback/test_cpplint_command_callbacks.vader
+++ b/test/linter/test_cpplint.vader
diff --git a/test/command_callback/test_cs_csc_command_callbacks.vader b/test/linter/test_cs_csc.vader
index 28d0304a..28d0304a 100644
--- a/test/command_callback/test_cs_csc_command_callbacks.vader
+++ b/test/linter/test_cs_csc.vader
diff --git a/test/command_callback/test_cs_mcs_command_callbacks.vader b/test/linter/test_cs_mcs.vader
index dbebd106..dbebd106 100644
--- a/test/command_callback/test_cs_mcs_command_callbacks.vader
+++ b/test/linter/test_cs_mcs.vader
diff --git a/test/command_callback/test_cs_mcsc_command_callbacks.vader b/test/linter/test_cs_mcsc.vader
index e784cf15..e784cf15 100644
--- a/test/command_callback/test_cs_mcsc_command_callbacks.vader
+++ b/test/linter/test_cs_mcsc.vader
diff --git a/test/command_callback/test_cucumber_command_callback.vader b/test/linter/test_cucumber.vader
index 6a7851ef..6a7851ef 100644
--- a/test/command_callback/test_cucumber_command_callback.vader
+++ b/test/linter/test_cucumber.vader
diff --git a/test/command_callback/test_cuda_nvcc_command_callbacks.vader b/test/linter/test_cuda_nvcc.vader
index 4578d052..4578d052 100644
--- a/test/command_callback/test_cuda_nvcc_command_callbacks.vader
+++ b/test/linter/test_cuda_nvcc.vader
diff --git a/test/command_callback/test_cypher_cypher_lint_command_callback.vader b/test/linter/test_cypher_cypher_lint.vader
index 6b64dc1f..6b64dc1f 100644
--- a/test/command_callback/test_cypher_cypher_lint_command_callback.vader
+++ b/test/linter/test_cypher_cypher_lint.vader
diff --git a/test/command_callback/test_d_dls_callbacks.vader b/test/linter/test_d_dls.vader
index 156ebf66..156ebf66 100644
--- a/test/command_callback/test_d_dls_callbacks.vader
+++ b/test/linter/test_d_dls.vader
diff --git a/test/command_callback/test_dart_analysis_server_command_callback.vader b/test/linter/test_dart_analysis_server.vader
index 1754109a..1754109a 100644
--- a/test/command_callback/test_dart_analysis_server_command_callback.vader
+++ b/test/linter/test_dart_analysis_server.vader
diff --git a/test/command_callback/test_dart_language_server_command_callback.vader b/test/linter/test_dart_language_server.vader
index 5567f271..5567f271 100644
--- a/test/command_callback/test_dart_language_server_command_callback.vader
+++ b/test/linter/test_dart_language_server.vader
diff --git a/test/command_callback/test_dartanalyzer_command_callback.vader b/test/linter/test_dartanalyzer.vader
index 7275b187..7275b187 100644
--- a/test/command_callback/test_dartanalyzer_command_callback.vader
+++ b/test/linter/test_dartanalyzer.vader
diff --git a/test/command_callback/test_desktop_file_validate.vader b/test/linter/test_desktop_file_validate.vader
index 4a49057b..4a49057b 100644
--- a/test/command_callback/test_desktop_file_validate.vader
+++ b/test/linter/test_desktop_file_validate.vader
diff --git a/test/command_callback/test_dialyxir_command_callback.vader b/test/linter/test_dialyxir.vader
index 250ffefd..250ffefd 100644
--- a/test/command_callback/test_dialyxir_command_callback.vader
+++ b/test/linter/test_dialyxir.vader
diff --git a/test/command_callback/test_dockerfile_lint_command_callback.vader b/test/linter/test_dockerfile_lint.vader
index abc32e0d..abc32e0d 100644
--- a/test/command_callback/test_dockerfile_lint_command_callback.vader
+++ b/test/linter/test_dockerfile_lint.vader
diff --git a/test/command_callback/test_dogma_command_callback.vader b/test/linter/test_dogma.vader
index c8b599af..c8b599af 100644
--- a/test/command_callback/test_dogma_command_callback.vader
+++ b/test/linter/test_dogma.vader
diff --git a/test/command_callback/test_eclipselsp_command_callback.vader b/test/linter/test_eclipselsp.vader
index 6bbc4053..6bbc4053 100644
--- a/test/command_callback/test_eclipselsp_command_callback.vader
+++ b/test/linter/test_eclipselsp.vader
diff --git a/test/command_callback/test_elixir_credo_command_callback.vader b/test/linter/test_elixir_credo.vader
index 9c639c57..9c639c57 100644
--- a/test/command_callback/test_elixir_credo_command_callback.vader
+++ b/test/linter/test_elixir_credo.vader
diff --git a/test/command_callback/test_elixir_ls_command_callbacks.vader b/test/linter/test_elixir_ls.vader
index 84e805ba..84e805ba 100644
--- a/test/command_callback/test_elixir_ls_command_callbacks.vader
+++ b/test/linter/test_elixir_ls.vader
diff --git a/test/command_callback/test_elixir_mix_command_callbacks.vader b/test/linter/test_elixir_mix.vader
index a04bee55..a04bee55 100644
--- a/test/command_callback/test_elixir_mix_command_callbacks.vader
+++ b/test/linter/test_elixir_mix.vader
diff --git a/test/command_callback/test_elm_ls_command_callbacks.vader b/test/linter/test_elm_ls.vader
index 98b01c96..98b01c96 100644
--- a/test/command_callback/test_elm_ls_command_callbacks.vader
+++ b/test/linter/test_elm_ls.vader
diff --git a/test/command_callback/test_elm_make_command_callback.vader b/test/linter/test_elm_make.vader
index 90e0c920..90e0c920 100644
--- a/test/command_callback/test_elm_make_command_callback.vader
+++ b/test/linter/test_elm_make.vader
diff --git a/test/command_callback/test_embertemplatelint_command_callbacks.vader b/test/linter/test_embertemplatelint.vader
index 97687d29..97687d29 100644
--- a/test/command_callback/test_embertemplatelint_command_callbacks.vader
+++ b/test/linter/test_embertemplatelint.vader
diff --git a/test/command_callback/test_erb_command_callback.vader b/test/linter/test_erb.vader
index c64c7ba5..c64c7ba5 100644
--- a/test/command_callback/test_erb_command_callback.vader
+++ b/test/linter/test_erb.vader
diff --git a/test/command_callback/test_erlang_dialyzer_command_callback.vader b/test/linter/test_erlang_dialyzer.vader
index 5e818d7f..5e818d7f 100644
--- a/test/command_callback/test_erlang_dialyzer_command_callback.vader
+++ b/test/linter/test_erlang_dialyzer.vader
diff --git a/test/command_callback/test_erlang_elvis_command_callback.vader b/test/linter/test_erlang_elvis.vader
index 4aab49d6..4aab49d6 100644
--- a/test/command_callback/test_erlang_elvis_command_callback.vader
+++ b/test/linter/test_erlang_elvis.vader
diff --git a/test/command_callback/test_erlang_erlc_command_callback.vader b/test/linter/test_erlang_erlc.vader
index 7d659a07..7d659a07 100644
--- a/test/command_callback/test_erlang_erlc_command_callback.vader
+++ b/test/linter/test_erlang_erlc.vader
diff --git a/test/command_callback/test_erlang_syntaxerl_command_callback.vader b/test/linter/test_erlang_syntaxerl.vader
index e7cc26ea..e7cc26ea 100644
--- a/test/command_callback/test_erlang_syntaxerl_command_callback.vader
+++ b/test/linter/test_erlang_syntaxerl.vader
diff --git a/test/command_callback/test_erubi_command_callback.vader b/test/linter/test_erubi.vader
index cd4a0b68..cd4a0b68 100644
--- a/test/command_callback/test_erubi_command_callback.vader
+++ b/test/linter/test_erubi.vader
diff --git a/test/command_callback/test_erubis_command_callback.vader b/test/linter/test_erubis.vader
index cfca54a2..cfca54a2 100644
--- a/test/command_callback/test_erubis_command_callback.vader
+++ b/test/linter/test_erubis.vader
diff --git a/test/command_callback/test_eslint_command_callback.vader b/test/linter/test_eslint.vader
index 81518af9..81518af9 100644
--- a/test/command_callback/test_eslint_command_callback.vader
+++ b/test/linter/test_eslint.vader
diff --git a/test/command_callback/test_fecs_command_callback.vader b/test/linter/test_fecs.vader
index 4287d324..4287d324 100644
--- a/test/command_callback/test_fecs_command_callback.vader
+++ b/test/linter/test_fecs.vader
diff --git a/test/command_callback/test_flake8_command_callback.vader b/test/linter/test_flake8.vader
index 81efe497..81efe497 100644
--- a/test/command_callback/test_flake8_command_callback.vader
+++ b/test/linter/test_flake8.vader
diff --git a/test/command_callback/test_flow_command_callback.vader b/test/linter/test_flow.vader
index 8488a2e9..8488a2e9 100644
--- a/test/command_callback/test_flow_command_callback.vader
+++ b/test/linter/test_flow.vader
diff --git a/test/command_callback/test_foodcritic_command_callback.vader b/test/linter/test_foodcritic.vader
index c5564cb1..c5564cb1 100644
--- a/test/command_callback/test_foodcritic_command_callback.vader
+++ b/test/linter/test_foodcritic.vader
diff --git a/test/command_callback/test_fortran_fortls_callback.vader b/test/linter/test_fortran_fortls.vader
index 581f94ba..581f94ba 100644
--- a/test/command_callback/test_fortran_fortls_callback.vader
+++ b/test/linter/test_fortran_fortls.vader
diff --git a/test/command_callback/test_fsc_command_callback.vader b/test/linter/test_fsc.vader
index 278e7c16..278e7c16 100644
--- a/test/command_callback/test_fsc_command_callback.vader
+++ b/test/linter/test_fsc.vader
diff --git a/test/command_callback/test_fusionlint_command_callback.vader b/test/linter/test_fusionlint.vader
index 1c63b811..1c63b811 100644
--- a/test/command_callback/test_fusionlint_command_callback.vader
+++ b/test/linter/test_fusionlint.vader
diff --git a/test/command_callback/test_gawk_command_callback.vader b/test/linter/test_gawk.vader
index ba9f59ab..ba9f59ab 100644
--- a/test/command_callback/test_gawk_command_callback.vader
+++ b/test/linter/test_gawk.vader
diff --git a/test/command_callback/test_gfortran_command_callback.vader b/test/linter/test_gfortran.vader
index 3e6ef951..3e6ef951 100644
--- a/test/command_callback/test_gfortran_command_callback.vader
+++ b/test/linter/test_gfortran.vader
diff --git a/test/command_callback/test_ghdl_command_callbacks.vader b/test/linter/test_ghdl.vader
index f254e11f..f254e11f 100644
--- a/test/command_callback/test_ghdl_command_callbacks.vader
+++ b/test/linter/test_ghdl.vader
diff --git a/test/command_callback/test_gitlint_command_callback.vader b/test/linter/test_gitlint.vader
index 4df675f3..4df675f3 100644
--- a/test/command_callback/test_gitlint_command_callback.vader
+++ b/test/linter/test_gitlint.vader
diff --git a/test/command_callback/test_glslang_command_callback.vader b/test/linter/test_glslang.vader
index 980406af..980406af 100644
--- a/test/command_callback/test_glslang_command_callback.vader
+++ b/test/linter/test_glslang.vader
diff --git a/test/command_callback/test_glslls_command_callback.vader b/test/linter/test_glslls.vader
index 133c2a2f..133c2a2f 100644
--- a/test/command_callback/test_glslls_command_callback.vader
+++ b/test/linter/test_glslls.vader
diff --git a/test/command_callback/test_gobuild_command_callback.vader b/test/linter/test_gobuild.vader
index bac4d74e..bac4d74e 100644
--- a/test/command_callback/test_gobuild_command_callback.vader
+++ b/test/linter/test_gobuild.vader
diff --git a/test/command_callback/test_gofmt_command_callback.vader b/test/linter/test_gofmt.vader
index b056a659..b056a659 100644
--- a/test/command_callback/test_gofmt_command_callback.vader
+++ b/test/linter/test_gofmt.vader
diff --git a/test/command_callback/test_golangci_lint_command_callback.vader b/test/linter/test_golangci_lint.vader
index ee754bba..ee754bba 100644
--- a/test/command_callback/test_golangci_lint_command_callback.vader
+++ b/test/linter/test_golangci_lint.vader
diff --git a/test/command_callback/test_golangserver_command_callback.vader b/test/linter/test_golangserver.vader
index b31d8dc8..b31d8dc8 100644
--- a/test/command_callback/test_golangserver_command_callback.vader
+++ b/test/linter/test_golangserver.vader
diff --git a/test/command_callback/test_golint_command_callbacks.vader b/test/linter/test_golint.vader
index 64916707..64916707 100644
--- a/test/command_callback/test_golint_command_callbacks.vader
+++ b/test/linter/test_golint.vader
diff --git a/test/command_callback/test_gometalinter_command_callback.vader b/test/linter/test_gometalinter.vader
index 5ff744f5..5ff744f5 100644
--- a/test/command_callback/test_gometalinter_command_callback.vader
+++ b/test/linter/test_gometalinter.vader
diff --git a/test/command_callback/test_gopls_command_callback.vader b/test/linter/test_gopls.vader
index 0f1558e9..0f1558e9 100644
--- a/test/command_callback/test_gopls_command_callback.vader
+++ b/test/linter/test_gopls.vader
diff --git a/test/command_callback/test_gosimple_command_callback.vader b/test/linter/test_gosimple.vader
index 960f8ee9..960f8ee9 100644
--- a/test/command_callback/test_gosimple_command_callback.vader
+++ b/test/linter/test_gosimple.vader
diff --git a/test/command_callback/test_gotype_command_callback.vader b/test/linter/test_gotype.vader
index 22829a17..22829a17 100644
--- a/test/command_callback/test_gotype_command_callback.vader
+++ b/test/linter/test_gotype.vader
diff --git a/test/command_callback/test_govet_command_callback.vader b/test/linter/test_govet.vader
index 12ec168a..12ec168a 100644
--- a/test/command_callback/test_govet_command_callback.vader
+++ b/test/linter/test_govet.vader
diff --git a/test/command_callback/test_graphql_gqlint_command_callbacks.vader b/test/linter/test_graphql_gqlint.vader
index 22c05a6a..22c05a6a 100644
--- a/test/command_callback/test_graphql_gqlint_command_callbacks.vader
+++ b/test/linter/test_graphql_gqlint.vader
diff --git a/test/command_callback/test_haml_hamllint_command_callback.vader b/test/linter/test_haml_hamllint.vader
index 9d81179b..9d81179b 100644
--- a/test/command_callback/test_haml_hamllint_command_callback.vader
+++ b/test/linter/test_haml_hamllint.vader
diff --git a/test/command_callback/test_haskell_cabal_ghc_command_callbacks.vader b/test/linter/test_haskell_cabal_ghc.vader
index b4976b34..b4976b34 100644
--- a/test/command_callback/test_haskell_cabal_ghc_command_callbacks.vader
+++ b/test/linter/test_haskell_cabal_ghc.vader
diff --git a/test/command_callback/test_haskell_ghc_command_callbacks.vader b/test/linter/test_haskell_ghc.vader
index 2f33477d..2f33477d 100644
--- a/test/command_callback/test_haskell_ghc_command_callbacks.vader
+++ b/test/linter/test_haskell_ghc.vader
diff --git a/test/command_callback/test_haskell_ghc_mod_command_callbacks.vader b/test/linter/test_haskell_ghc_mod.vader
index c1cc8597..c1cc8597 100644
--- a/test/command_callback/test_haskell_ghc_mod_command_callbacks.vader
+++ b/test/linter/test_haskell_ghc_mod.vader
diff --git a/test/command_callback/test_haskell_hdevtools_command_callbacks.vader b/test/linter/test_haskell_hdevtools.vader
index 0ef2f0e3..0ef2f0e3 100644
--- a/test/command_callback/test_haskell_hdevtools_command_callbacks.vader
+++ b/test/linter/test_haskell_hdevtools.vader
diff --git a/test/command_callback/test_haskell_hie_callbacks.vader b/test/linter/test_haskell_hie.vader
index 5bd2794c..5bd2794c 100644
--- a/test/command_callback/test_haskell_hie_callbacks.vader
+++ b/test/linter/test_haskell_hie.vader
diff --git a/test/command_callback/test_haskell_hlint_command_callbacks.vader b/test/linter/test_haskell_hlint.vader
index 6d227c9d..6d227c9d 100644
--- a/test/command_callback/test_haskell_hlint_command_callbacks.vader
+++ b/test/linter/test_haskell_hlint.vader
diff --git a/test/command_callback/test_haskell_hls_callbacks.vader b/test/linter/test_haskell_hls.vader
index e64aab6f..e64aab6f 100644
--- a/test/command_callback/test_haskell_hls_callbacks.vader
+++ b/test/linter/test_haskell_hls.vader
diff --git a/test/command_callback/test_haskell_stack_build_command_callback.vader b/test/linter/test_haskell_stack_build.vader
index 8b5b0971..8b5b0971 100644
--- a/test/command_callback/test_haskell_stack_build_command_callback.vader
+++ b/test/linter/test_haskell_stack_build.vader
diff --git a/test/command_callback/test_haskell_stack_ghc_command_callback.vader b/test/linter/test_haskell_stack_ghc.vader
index 04bd23f5..04bd23f5 100644
--- a/test/command_callback/test_haskell_stack_ghc_command_callback.vader
+++ b/test/linter/test_haskell_stack_ghc.vader
diff --git a/test/test_hdl_checker_options.vader b/test/linter/test_hdl_checker_options.vader
index 6e7eef46..6e7eef46 100644
--- a/test/test_hdl_checker_options.vader
+++ b/test/linter/test_hdl_checker_options.vader
diff --git a/test/command_callback/test_html_stylelint_command_callback.vader b/test/linter/test_html_stylelint.vader
index 87440217..c5ac1b98 100644
--- a/test/command_callback/test_html_stylelint_command_callback.vader
+++ b/test/linter/test_html_stylelint.vader
@@ -9,7 +9,7 @@ Before:
unlet! g:ale_html_stylelint_use_global
unlet! g:ale_html_stylelint_options
- call ale#test#SetDirectory('/testplugin/test/command_callback')
+ call ale#test#SetDirectory('/testplugin/test/linter')
call ale#test#SetFilename('testfile.html')
runtime ale_linters/html/stylelint.vim
diff --git a/test/command_callback/test_htmlhint_command_callback.vader b/test/linter/test_htmlhint.vader
index df5797af..df5797af 100644
--- a/test/command_callback/test_htmlhint_command_callback.vader
+++ b/test/linter/test_htmlhint.vader
diff --git a/test/command_callback/test_ibm_openapi_validator_command_callback.vader b/test/linter/test_ibm_openapi_validator.vader
index 3484cc09..3484cc09 100644
--- a/test/command_callback/test_ibm_openapi_validator_command_callback.vader
+++ b/test/linter/test_ibm_openapi_validator.vader
diff --git a/test/command_callback/test_idris_command_callbacks.vader b/test/linter/test_idris.vader
index ce7cd270..ce7cd270 100644
--- a/test/command_callback/test_idris_command_callbacks.vader
+++ b/test/linter/test_idris.vader
diff --git a/test/command_callback/test_ink_ls_command_callbacks.vader b/test/linter/test_ink_ls.vader
index a832a250..a832a250 100644
--- a/test/command_callback/test_ink_ls_command_callbacks.vader
+++ b/test/linter/test_ink_ls.vader
diff --git a/test/command_callback/test_inko_inko_callbacks.vader b/test/linter/test_inko_inko.vader
index c08cbed4..c08cbed4 100644
--- a/test/command_callback/test_inko_inko_callbacks.vader
+++ b/test/linter/test_inko_inko.vader
diff --git a/test/command_callback/test_ispc_ispc_command_callbacks.vader b/test/linter/test_ispc_ispc.vader
index f1aeb2f8..f1aeb2f8 100644
--- a/test/command_callback/test_ispc_ispc_command_callbacks.vader
+++ b/test/linter/test_ispc_ispc.vader
diff --git a/test/command_callback/test_iverilog_command_callback.vader b/test/linter/test_iverilog.vader
index d7a29f05..d7a29f05 100644
--- a/test/command_callback/test_iverilog_command_callback.vader
+++ b/test/linter/test_iverilog.vader
diff --git a/test/command_callback/test_javac_command_callback.vader b/test/linter/test_javac.vader
index 85a76e6a..85a76e6a 100644
--- a/test/command_callback/test_javac_command_callback.vader
+++ b/test/linter/test_javac.vader
diff --git a/test/command_callback/test_javalsp_command_callback.vader b/test/linter/test_javalsp.vader
index 122f409b..122f409b 100644
--- a/test/command_callback/test_javalsp_command_callback.vader
+++ b/test/linter/test_javalsp.vader
diff --git a/test/command_callback/test_javascript_tsserver_command_callback.vader b/test/linter/test_javascript_tsserver.vader
index 1c29c8fd..1c29c8fd 100644
--- a/test/command_callback/test_javascript_tsserver_command_callback.vader
+++ b/test/linter/test_javascript_tsserver.vader
diff --git a/test/command_callback/test_jq_command_callback.vader b/test/linter/test_jq.vader
index 20c3db5b..20c3db5b 100644
--- a/test/command_callback/test_jq_command_callback.vader
+++ b/test/linter/test_jq.vader
diff --git a/test/command_callback/test_jscs_command_callback.vader b/test/linter/test_jscs.vader
index 7cdf5467..7cdf5467 100644
--- a/test/command_callback/test_jscs_command_callback.vader
+++ b/test/linter/test_jscs.vader
diff --git a/test/command_callback/test_jshint_command_callback.vader b/test/linter/test_jshint.vader
index 517c957c..517c957c 100644
--- a/test/command_callback/test_jshint_command_callback.vader
+++ b/test/linter/test_jshint.vader
diff --git a/test/command_callback/test_julia_languageserver_callbacks.vader b/test/linter/test_julia_languageserver.vader
index d75665a0..d75665a0 100644
--- a/test/command_callback/test_julia_languageserver_callbacks.vader
+++ b/test/linter/test_julia_languageserver.vader
diff --git a/test/command_callback/test_kotlin_languageserver_command_callback.vader b/test/linter/test_kotlin_languageserver.vader
index 97b867ab..97b867ab 100644
--- a/test/command_callback/test_kotlin_languageserver_command_callback.vader
+++ b/test/linter/test_kotlin_languageserver.vader
diff --git a/test/command_callback/test_kotlinc_command_callback.vader b/test/linter/test_kotlinc.vader
index fe94bffa..fe94bffa 100644
--- a/test/command_callback/test_kotlinc_command_callback.vader
+++ b/test/linter/test_kotlinc.vader
diff --git a/test/command_callback/test_languagetool_command_callback.vader b/test/linter/test_languagetool.vader
index ff6b2064..ff6b2064 100644
--- a/test/command_callback/test_languagetool_command_callback.vader
+++ b/test/linter/test_languagetool.vader
diff --git a/test/command_callback/test_less_stylelint_command_callback.vader b/test/linter/test_less_stylelint.vader
index cbe7d23c..cbe7d23c 100644
--- a/test/command_callback/test_less_stylelint_command_callback.vader
+++ b/test/linter/test_less_stylelint.vader
diff --git a/test/command_callback/test_lessc_command_callback.vader b/test/linter/test_lessc.vader
index b7d664c6..b7d664c6 100644
--- a/test/command_callback/test_lessc_command_callback.vader
+++ b/test/linter/test_lessc.vader
diff --git a/test/command_callback/test_lintr_command_callback.vader b/test/linter/test_lintr.vader
index a2791c4d..a2791c4d 100644
--- a/test/command_callback/test_lintr_command_callback.vader
+++ b/test/linter/test_lintr.vader
diff --git a/test/command_callback/test_llc_command_callback.vader b/test/linter/test_llc.vader
index a0caaa48..a0caaa48 100644
--- a/test/command_callback/test_llc_command_callback.vader
+++ b/test/linter/test_llc.vader
diff --git a/test/command_callback/test_luac_command_callback.vader b/test/linter/test_luac.vader
index 55f39cba..55f39cba 100644
--- a/test/command_callback/test_luac_command_callback.vader
+++ b/test/linter/test_luac.vader
diff --git a/test/command_callback/test_luacheck_command_callback.vader b/test/linter/test_luacheck.vader
index f0ef221c..f0ef221c 100644
--- a/test/command_callback/test_luacheck_command_callback.vader
+++ b/test/linter/test_luacheck.vader
diff --git a/test/command_callback/test_markdown_markdownlint_command_callback.vader b/test/linter/test_markdown_markdownlint.vader
index 12766cfd..12766cfd 100644
--- a/test/command_callback/test_markdown_markdownlint_command_callback.vader
+++ b/test/linter/test_markdown_markdownlint.vader
diff --git a/test/command_callback/test_markdown_mdl_command_callback.vader b/test/linter/test_markdown_mdl.vader
index 1ce4db1a..1ce4db1a 100644
--- a/test/command_callback/test_markdown_mdl_command_callback.vader
+++ b/test/linter/test_markdown_mdl.vader
diff --git a/test/command_callback/test_markdown_vale_command_callback.vader b/test/linter/test_markdown_vale.vader
index 5300805b..5300805b 100644
--- a/test/command_callback/test_markdown_vale_command_callback.vader
+++ b/test/linter/test_markdown_vale.vader
diff --git a/test/command_callback/test_mercury_mmc_command_callback.vader b/test/linter/test_mercury_mmc.vader
index 5ab5e74f..5ab5e74f 100644
--- a/test/command_callback/test_mercury_mmc_command_callback.vader
+++ b/test/linter/test_mercury_mmc.vader
diff --git a/test/command_callback/test_mypy_command_callback.vader b/test/linter/test_mypy.vader
index 8c1e5e9c..8c1e5e9c 100644
--- a/test/command_callback/test_mypy_command_callback.vader
+++ b/test/linter/test_mypy.vader
diff --git a/test/command_callback/test_nagelfar_command_callbacks.vader b/test/linter/test_nagelfar.vader
index 94bb1d53..94bb1d53 100644
--- a/test/command_callback/test_nagelfar_command_callbacks.vader
+++ b/test/linter/test_nagelfar.vader
diff --git a/test/command_callback/test_nasm_nasm_command_callbacks.vader b/test/linter/test_nasm_nasm.vader
index 2bfe2b0d..2bfe2b0d 100644
--- a/test/command_callback/test_nasm_nasm_command_callbacks.vader
+++ b/test/linter/test_nasm_nasm.vader
diff --git a/test/command_callback/test_nimlsp_command_callback.vader b/test/linter/test_nimlsp.vader
index c109deef..c109deef 100644
--- a/test/command_callback/test_nimlsp_command_callback.vader
+++ b/test/linter/test_nimlsp.vader
diff --git a/test/command_callback/test_objc_ccls_command_callbacks.vader b/test/linter/test_objc_ccls.vader
index 58d824c5..58d824c5 100644
--- a/test/command_callback/test_objc_ccls_command_callbacks.vader
+++ b/test/linter/test_objc_ccls.vader
diff --git a/test/command_callback/test_ocaml_ocamllsp_callbacks.vader b/test/linter/test_ocaml_ocamllsp.vader
index 4f33af18..4f33af18 100644
--- a/test/command_callback/test_ocaml_ocamllsp_callbacks.vader
+++ b/test/linter/test_ocaml_ocamllsp.vader
diff --git a/test/command_callback/test_ocaml_ols_callbacks.vader b/test/linter/test_ocaml_ols.vader
index bf9ae65b..bf9ae65b 100644
--- a/test/command_callback/test_ocaml_ols_callbacks.vader
+++ b/test/linter/test_ocaml_ols.vader
diff --git a/test/command_callback/test_perl_command_callback.vader b/test/linter/test_perl.vader
index 3c4b661c..3c4b661c 100644
--- a/test/command_callback/test_perl_command_callback.vader
+++ b/test/linter/test_perl.vader
diff --git a/test/command_callback/test_perl6_command_callback.vader b/test/linter/test_perl6.vader
index d3ec6e17..d3ec6e17 100644
--- a/test/command_callback/test_perl6_command_callback.vader
+++ b/test/linter/test_perl6.vader
diff --git a/test/command_callback/test_perlcritic_command_callback.vader b/test/linter/test_perlcritic.vader
index 0f1e2856..0f1e2856 100644
--- a/test/command_callback/test_perlcritic_command_callback.vader
+++ b/test/linter/test_perlcritic.vader
diff --git a/test/command_callback/test_php_command_callback.vader b/test/linter/test_php.vader
index 670d7196..670d7196 100644
--- a/test/command_callback/test_php_command_callback.vader
+++ b/test/linter/test_php.vader
diff --git a/test/command_callback/test_php_intelephense_command_callback.vader b/test/linter/test_php_intelephense.vader
index d6e2469d..d6e2469d 100644
--- a/test/command_callback/test_php_intelephense_command_callback.vader
+++ b/test/linter/test_php_intelephense.vader
diff --git a/test/command_callback/test_php_langserver_callbacks.vader b/test/linter/test_php_langserver.vader
index 7fe20b82..7fe20b82 100644
--- a/test/command_callback/test_php_langserver_callbacks.vader
+++ b/test/linter/test_php_langserver.vader
diff --git a/test/command_callback/test_phpcs_command_callback.vader b/test/linter/test_phpcs.vader
index afb88e32..afb88e32 100644
--- a/test/command_callback/test_phpcs_command_callback.vader
+++ b/test/linter/test_phpcs.vader
diff --git a/test/command_callback/test_phpmd_command_callbacks.vader b/test/linter/test_phpmd.vader
index 64922820..64922820 100644
--- a/test/command_callback/test_phpmd_command_callbacks.vader
+++ b/test/linter/test_phpmd.vader
diff --git a/test/command_callback/test_phpstan_command_callbacks.vader b/test/linter/test_phpstan.vader
index 813fe448..813fe448 100644
--- a/test/command_callback/test_phpstan_command_callbacks.vader
+++ b/test/linter/test_phpstan.vader
diff --git a/test/command_callback/test_pony_ponyc_command_callbacks.vader b/test/linter/test_pony_ponyc.vader
index 3a3b32ec..3a3b32ec 100644
--- a/test/command_callback/test_pony_ponyc_command_callbacks.vader
+++ b/test/linter/test_pony_ponyc.vader
diff --git a/test/command_callback/test_prospector_command_callback.vader b/test/linter/test_prospector.vader
index d6f84308..d6f84308 100644
--- a/test/command_callback/test_prospector_command_callback.vader
+++ b/test/linter/test_prospector.vader
diff --git a/test/command_callback/test_proto_command_callback.vader b/test/linter/test_proto.vader
index 726588c0..726588c0 100644
--- a/test/command_callback/test_proto_command_callback.vader
+++ b/test/linter/test_proto.vader
diff --git a/test/command_callback/test_psalm_command_callbacks.vader b/test/linter/test_psalm.vader
index 4edb95c8..4edb95c8 100644
--- a/test/command_callback/test_psalm_command_callbacks.vader
+++ b/test/linter/test_psalm.vader
diff --git a/test/command_callback/test_puglint_command_callback.vader b/test/linter/test_puglint.vader
index 8a445408..8a445408 100644
--- a/test/command_callback/test_puglint_command_callback.vader
+++ b/test/linter/test_puglint.vader
diff --git a/test/command_callback/test_purescript_ls_command_callbacks.vader b/test/linter/test_purescript_ls.vader
index 3ef9707a..3ef9707a 100644
--- a/test/command_callback/test_purescript_ls_command_callbacks.vader
+++ b/test/linter/test_purescript_ls.vader
diff --git a/test/command_callback/test_pycodestyle_command_callback.vader b/test/linter/test_pycodestyle.vader
index 9260913c..9260913c 100644
--- a/test/command_callback/test_pycodestyle_command_callback.vader
+++ b/test/linter/test_pycodestyle.vader
diff --git a/test/command_callback/test_pydocstyle_command_callback.vader b/test/linter/test_pydocstyle.vader
index b24cb0d9..b24cb0d9 100644
--- a/test/command_callback/test_pydocstyle_command_callback.vader
+++ b/test/linter/test_pydocstyle.vader
diff --git a/test/command_callback/test_pyflakes_command_callback.vader b/test/linter/test_pyflakes.vader
index bbb7b74c..bbb7b74c 100644
--- a/test/command_callback/test_pyflakes_command_callback.vader
+++ b/test/linter/test_pyflakes.vader
diff --git a/test/command_callback/test_pylama_command_callback.vader b/test/linter/test_pylama.vader
index 29fa971b..29fa971b 100644
--- a/test/command_callback/test_pylama_command_callback.vader
+++ b/test/linter/test_pylama.vader
diff --git a/test/command_callback/test_pylint_command_callback.vader b/test/linter/test_pylint.vader
index e581915f..e581915f 100644
--- a/test/command_callback/test_pylint_command_callback.vader
+++ b/test/linter/test_pylint.vader
diff --git a/test/command_callback/test_pyls_command_callback.vader b/test/linter/test_pyls.vader
index 74a86ccb..74a86ccb 100644
--- a/test/command_callback/test_pyls_command_callback.vader
+++ b/test/linter/test_pyls.vader
diff --git a/test/command_callback/test_pyre_command_callback.vader b/test/linter/test_pyre.vader
index d3e5fe9d..d3e5fe9d 100644
--- a/test/command_callback/test_pyre_command_callback.vader
+++ b/test/linter/test_pyre.vader
diff --git a/test/command_callback/test_pyrex_cython_command_callback.vader b/test/linter/test_pyrex_cython.vader
index af86366a..af86366a 100644
--- a/test/command_callback/test_pyrex_cython_command_callback.vader
+++ b/test/linter/test_pyrex_cython.vader
diff --git a/test/command_callback/test_pyright_command_callback.vader b/test/linter/test_pyright.vader
index 51510cf2..51510cf2 100644
--- a/test/command_callback/test_pyright_command_callback.vader
+++ b/test/linter/test_pyright.vader
diff --git a/test/command_callback/test_qmlfmt_command_callback.vader b/test/linter/test_qmlfmt.vader
index 53502f4d..53502f4d 100644
--- a/test/command_callback/test_qmlfmt_command_callback.vader
+++ b/test/linter/test_qmlfmt.vader
diff --git a/test/command_callback/test_r_languageserver_callbacks.vader b/test/linter/test_r_languageserver.vader
index b5be0396..b5be0396 100644
--- a/test/command_callback/test_r_languageserver_callbacks.vader
+++ b/test/linter/test_r_languageserver.vader
diff --git a/test/command_callback/test_racket_raco_command_callback.vader b/test/linter/test_racket_raco.vader
index fb83ffa1..fb83ffa1 100644
--- a/test/command_callback/test_racket_raco_command_callback.vader
+++ b/test/linter/test_racket_raco.vader
diff --git a/test/command_callback/test_rails_best_practices_command_callback.vader b/test/linter/test_rails_best_practices.vader
index 6a6f7a53..6a6f7a53 100644
--- a/test/command_callback/test_rails_best_practices_command_callback.vader
+++ b/test/linter/test_rails_best_practices.vader
diff --git a/test/command_callback/test_reason_ls_command_callback.vader b/test/linter/test_reason_ls.vader
index 57ea7302..57ea7302 100644
--- a/test/command_callback/test_reason_ls_command_callback.vader
+++ b/test/linter/test_reason_ls.vader
diff --git a/test/command_callback/test_reason_ols_callbacks.vader b/test/linter/test_reason_ols.vader
index 752bd05b..752bd05b 100644
--- a/test/command_callback/test_reason_ols_callbacks.vader
+++ b/test/linter/test_reason_ols.vader
diff --git a/test/command_callback/test_reek_command_callback.vader b/test/linter/test_reek.vader
index 798c3314..798c3314 100644
--- a/test/command_callback/test_reek_command_callback.vader
+++ b/test/linter/test_reek.vader
diff --git a/test/command_callback/test_remark_lint_command_callbacks.vader b/test/linter/test_remark_lint.vader
index a34f0a90..a34f0a90 100644
--- a/test/command_callback/test_remark_lint_command_callbacks.vader
+++ b/test/linter/test_remark_lint.vader
diff --git a/test/command_callback/test_revive_command_callbacks.vader b/test/linter/test_revive.vader
index 172294f3..172294f3 100644
--- a/test/command_callback/test_revive_command_callbacks.vader
+++ b/test/linter/test_revive.vader
diff --git a/test/command_callback/test_rnix_command_callback.vader b/test/linter/test_rnix.vader
index 8970ee99..8970ee99 100644
--- a/test/command_callback/test_rnix_command_callback.vader
+++ b/test/linter/test_rnix.vader
diff --git a/test/command_callback/test_rst_textlint_command_callbacks.vader b/test/linter/test_rst_textlint.vader
index b2d99636..b2d99636 100644
--- a/test/command_callback/test_rst_textlint_command_callbacks.vader
+++ b/test/linter/test_rst_textlint.vader
diff --git a/test/command_callback/test_rubocop_command_callback.vader b/test/linter/test_rubocop.vader
index e7cc32e8..e7cc32e8 100644
--- a/test/command_callback/test_rubocop_command_callback.vader
+++ b/test/linter/test_rubocop.vader
diff --git a/test/command_callback/test_ruby_command_callback.vader b/test/linter/test_ruby.vader
index b6bac14f..b6bac14f 100644
--- a/test/command_callback/test_ruby_command_callback.vader
+++ b/test/linter/test_ruby.vader
diff --git a/test/command_callback/test_ruby_debride_command_callback.vader b/test/linter/test_ruby_debride.vader
index f7628432..f7628432 100644
--- a/test/command_callback/test_ruby_debride_command_callback.vader
+++ b/test/linter/test_ruby_debride.vader
diff --git a/test/command_callback/test_ruby_solargraph.vader b/test/linter/test_ruby_solargraph.vader
index e909049b..1ae67f50 100644
--- a/test/command_callback/test_ruby_solargraph.vader
+++ b/test/linter/test_ruby_solargraph.vader
@@ -1,6 +1,5 @@
" Author: Horacio Sanson <https://github.com/hsanson>
" Description: Tests for solargraph lsp linter.
-
Before:
call ale#assert#SetUpLinterTest('ruby', 'solargraph')
@@ -18,25 +17,25 @@ Execute(should set solargraph for rails app):
call ale#test#SetFilename('../test-files/ruby/valid_rails_app/app/models/thing.rb')
AssertLSPLanguage 'ruby'
AssertLSPOptions {}
- AssertLSPProject ale#path#Simplify(g:dir . 'command_callback/../test-files/ruby/valid_rails_app')
+ AssertLSPProject ale#test#GetFilename('../test-files/ruby/valid_rails_app')
Execute(should set solargraph for ruby app1):
call ale#test#SetFilename('../test-files/ruby/valid_ruby_app1/lib/file.rb')
AssertLSPLanguage 'ruby'
AssertLSPOptions {}
- AssertLSPProject ale#path#Simplify(g:dir . 'command_callback/../test-files/ruby/valid_ruby_app1')
+ AssertLSPProject ale#test#GetFilename('../test-files/ruby/valid_ruby_app1')
Execute(should set solargraph for ruby app2):
call ale#test#SetFilename('../test-files/ruby/valid_ruby_app2/lib/file.rb')
AssertLSPLanguage 'ruby'
AssertLSPOptions {}
- AssertLSPProject ale#path#Simplify(g:dir . 'command_callback/../test-files/ruby/valid_ruby_app2')
+ AssertLSPProject ale#test#GetFilename('../test-files/ruby/valid_ruby_app2')
Execute(should set solargraph for ruby app3):
call ale#test#SetFilename('../test-files/ruby/valid_ruby_app3/lib/file.rb')
AssertLSPLanguage 'ruby'
AssertLSPOptions {}
- AssertLSPProject ale#path#Simplify(g:dir . 'command_callback/../test-files/ruby/valid_ruby_app3')
+ AssertLSPProject ale#test#GetFilename('../test-files/ruby/valid_ruby_app3')
Execute(should accept initialization options):
AssertLSPOptions {}
diff --git a/test/command_callback/test_rust_analyzer_callbacks.vader b/test/linter/test_rust_analyzer.vader
index 82a3adfb..82a3adfb 100644
--- a/test/command_callback/test_rust_analyzer_callbacks.vader
+++ b/test/linter/test_rust_analyzer.vader
diff --git a/test/command_callback/test_rust_rls_callbacks.vader b/test/linter/test_rust_rls.vader
index 9ca25619..9ca25619 100644
--- a/test/command_callback/test_rust_rls_callbacks.vader
+++ b/test/linter/test_rust_rls.vader
diff --git a/test/command_callback/test_rustc_command_callback.vader b/test/linter/test_rustc.vader
index 4bceb180..4bceb180 100644
--- a/test/command_callback/test_rustc_command_callback.vader
+++ b/test/linter/test_rustc.vader
diff --git a/test/command_callback/test_ruumba_command_callback.vader b/test/linter/test_ruumba.vader
index 9fa48903..9fa48903 100644
--- a/test/command_callback/test_ruumba_command_callback.vader
+++ b/test/linter/test_ruumba.vader
diff --git a/test/command_callback/test_sass_sasslint_command_callback.vader b/test/linter/test_sass_sasslint.vader
index 87f0c8ad..87f0c8ad 100644
--- a/test/command_callback/test_sass_sasslint_command_callback.vader
+++ b/test/linter/test_sass_sasslint.vader
diff --git a/test/command_callback/test_scala_metals.vader b/test/linter/test_scala_metals.vader
index f5733ddc..b14e3e02 100644
--- a/test/command_callback/test_scala_metals.vader
+++ b/test/linter/test_scala_metals.vader
@@ -1,17 +1,18 @@
" Author: Jeffrey Lau https://github.com/zoonfafer
" Description: Tests for the Scala Metals linter
-
Before:
call ale#assert#SetUpLinterTest('scala', 'metals')
After:
call ale#assert#TearDownLinterTest()
+
Execute(should set metals for sbt project with build.sbt):
call ale#test#SetFilename('../test-files/scala/valid_sbt_project/Main.scala')
AssertLSPLanguage 'scala'
AssertLSPOptions {}
AssertLSPConfig {}
- AssertLSPProject ale#path#Simplify(g:dir . 'command_callback/../test-files/scala/valid_sbt_project')
+ AssertLSPProject ale#test#GetFilename('../test-files/scala/valid_sbt_project')
+
Execute(should not set metals for sbt project without build.sbt):
call ale#test#SetFilename('../test-files/scala/invalid_sbt_project/Main.scala')
AssertLSPLanguage 'scala'
diff --git a/test/command_callback/test_scala_sbtserver.vader b/test/linter/test_scala_sbtserver.vader
index a20c424e..118e090f 100644
--- a/test/command_callback/test_scala_sbtserver.vader
+++ b/test/linter/test_scala_sbtserver.vader
@@ -1,17 +1,19 @@
" Author: ophirr33 <coghlan.ty@gmail.com>
" Description: Tests for the sbt Server lsp linter
-
Before:
call ale#assert#SetUpLinterTest('scala', 'sbtserver')
+
After:
call ale#assert#TearDownLinterTest()
+
Execute(should set sbtserver for sbt project with build.sbt):
call ale#test#SetFilename('../test-files/scala/valid_sbt_project/Main.scala')
AssertLSPLanguage 'scala'
AssertLSPOptions {}
AssertLSPConfig {}
- AssertLSPProject ale#path#Simplify(g:dir . 'command_callback/../test-files/scala/valid_sbt_project')
+ AssertLSPProject ale#test#GetFilename('../test-files/scala/valid_sbt_project')
AssertLSPAddress '127.0.0.1:4273'
+
Execute(should not set sbtserver for sbt project without build.sbt):
call ale#test#SetFilename('../test-files/scala/invalid_sbt_project/Main.scala')
AssertLSPLanguage 'scala'
diff --git a/test/command_callback/test_scalac_command_callback.vader b/test/linter/test_scalac.vader
index ea5ae109..ea5ae109 100644
--- a/test/command_callback/test_scalac_command_callback.vader
+++ b/test/linter/test_scalac.vader
diff --git a/test/command_callback/test_scalastyle_command_callback.vader b/test/linter/test_scalastyle.vader
index 3c28f7a3..3c28f7a3 100644
--- a/test/command_callback/test_scalastyle_command_callback.vader
+++ b/test/linter/test_scalastyle.vader
diff --git a/test/command_callback/test_scss_sasslint_command_callback.vader b/test/linter/test_scss_sasslint.vader
index 839761c2..839761c2 100644
--- a/test/command_callback/test_scss_sasslint_command_callback.vader
+++ b/test/linter/test_scss_sasslint.vader
diff --git a/test/command_callback/test_scss_stylelint_command_callback.vader b/test/linter/test_scss_stylelint.vader
index 5a1e71c6..5a1e71c6 100644
--- a/test/command_callback/test_scss_stylelint_command_callback.vader
+++ b/test/linter/test_scss_stylelint.vader
diff --git a/test/command_callback/test_shellcheck_command_callback.vader b/test/linter/test_shellcheck.vader
index 40995755..40995755 100644
--- a/test/command_callback/test_shellcheck_command_callback.vader
+++ b/test/linter/test_shellcheck.vader
diff --git a/test/command_callback/test_slimlint_command_callback.vader b/test/linter/test_slimlint.vader
index 33df9ac0..33df9ac0 100644
--- a/test/command_callback/test_slimlint_command_callback.vader
+++ b/test/linter/test_slimlint.vader
diff --git a/test/command_callback/test_solc_command_callback.vader b/test/linter/test_solc.vader
index 23521f6a..23521f6a 100644
--- a/test/command_callback/test_solc_command_callback.vader
+++ b/test/linter/test_solc.vader
diff --git a/test/command_callback/test_sorbet_command_callback.vader b/test/linter/test_sorbet.vader
index fe758635..fe758635 100644
--- a/test/command_callback/test_sorbet_command_callback.vader
+++ b/test/linter/test_sorbet.vader
diff --git a/test/command_callback/test_spectral_command_callback.vader b/test/linter/test_spectral.vader
index cfcf0987..cfcf0987 100644
--- a/test/command_callback/test_spectral_command_callback.vader
+++ b/test/linter/test_spectral.vader
diff --git a/test/command_callback/test_sqllint_command_callback.vader b/test/linter/test_sqllint.vader
index eea9b4e0..eea9b4e0 100644
--- a/test/command_callback/test_sqllint_command_callback.vader
+++ b/test/linter/test_sqllint.vader
diff --git a/test/command_callback/test_standard_command_callback.vader b/test/linter/test_standard.vader
index 4722cd4a..4722cd4a 100644
--- a/test/command_callback/test_standard_command_callback.vader
+++ b/test/linter/test_standard.vader
diff --git a/test/command_callback/test_standardrb_command_callback.vader b/test/linter/test_standardrb.vader
index 108dd870..108dd870 100644
--- a/test/command_callback/test_standardrb_command_callback.vader
+++ b/test/linter/test_standardrb.vader
diff --git a/test/command_callback/test_standardts_command_callback.vader b/test/linter/test_standardts.vader
index 33ca8b25..33ca8b25 100644
--- a/test/command_callback/test_standardts_command_callback.vader
+++ b/test/linter/test_standardts.vader
diff --git a/test/command_callback/test_staticcheck_command_callback.vader b/test/linter/test_staticcheck.vader
index 993d9491..993d9491 100644
--- a/test/command_callback/test_staticcheck_command_callback.vader
+++ b/test/linter/test_staticcheck.vader
diff --git a/test/command_callback/test_sugarss_stylelint_command_callback.vader b/test/linter/test_sugarss_stylelint.vader
index ba42eaf8..ba42eaf8 100644
--- a/test/command_callback/test_sugarss_stylelint_command_callback.vader
+++ b/test/linter/test_sugarss_stylelint.vader
diff --git a/test/command_callback/test_svelteserver_command_callback.vader b/test/linter/test_svelteserver.vader
index c09f1682..c09f1682 100644
--- a/test/command_callback/test_svelteserver_command_callback.vader
+++ b/test/linter/test_svelteserver.vader
diff --git a/test/command_callback/test_swaglint_command_callback.vader b/test/linter/test_swaglint.vader
index 98f0c594..98f0c594 100644
--- a/test/command_callback/test_swaglint_command_callback.vader
+++ b/test/linter/test_swaglint.vader
diff --git a/test/command_callback/test_swift_sourcekitlsp_command_callbacks.vader b/test/linter/test_swift_sourcekitlsp.vader
index 1040d590..1040d590 100644
--- a/test/command_callback/test_swift_sourcekitlsp_command_callbacks.vader
+++ b/test/linter/test_swift_sourcekitlsp.vader
diff --git a/test/command_callback/test_swift_swiftformat_command_callbacks.vader b/test/linter/test_swift_swiftformat.vader
index 9f6ee62e..9f6ee62e 100644
--- a/test/command_callback/test_swift_swiftformat_command_callbacks.vader
+++ b/test/linter/test_swift_swiftformat.vader
diff --git a/test/command_callback/test_swiftlint_command_callback.vader b/test/linter/test_swiftlint.vader
index d2442b0a..d2442b0a 100644
--- a/test/command_callback/test_swiftlint_command_callback.vader
+++ b/test/linter/test_swiftlint.vader
diff --git a/test/command_callback/test_systemd_analyze_command_callback.vader b/test/linter/test_systemd_analyze.vader
index d97c87be..d97c87be 100644
--- a/test/command_callback/test_systemd_analyze_command_callback.vader
+++ b/test/linter/test_systemd_analyze.vader
diff --git a/test/command_callback/test_terraform_ls_command_callback.vader b/test/linter/test_terraform_ls.vader
index 9f7d3450..9f7d3450 100644
--- a/test/command_callback/test_terraform_ls_command_callback.vader
+++ b/test/linter/test_terraform_ls.vader
diff --git a/test/command_callback/test_terraform_lsp_command_callback.vader b/test/linter/test_terraform_lsp.vader
index a292fca0..a292fca0 100644
--- a/test/command_callback/test_terraform_lsp_command_callback.vader
+++ b/test/linter/test_terraform_lsp.vader
diff --git a/test/command_callback/test_terraform_terraform_command_callback.vader b/test/linter/test_terraform_terraform.vader
index 25ca652a..25ca652a 100644
--- a/test/command_callback/test_terraform_terraform_command_callback.vader
+++ b/test/linter/test_terraform_terraform.vader
diff --git a/test/command_callback/test_terraform_tflint_command_callback.vader b/test/linter/test_terraform_tflint.vader
index 96811e81..96811e81 100644
--- a/test/command_callback/test_terraform_tflint_command_callback.vader
+++ b/test/linter/test_terraform_tflint.vader
diff --git a/test/command_callback/test_tex_lacheck_command_callback.vader b/test/linter/test_tex_lacheck.vader
index b404cc78..b404cc78 100644
--- a/test/command_callback/test_tex_lacheck_command_callback.vader
+++ b/test/linter/test_tex_lacheck.vader
diff --git a/test/command_callback/test_tex_textlint_command_callbacks.vader b/test/linter/test_tex_textlint.vader
index f99e0fd0..f99e0fd0 100644
--- a/test/command_callback/test_tex_textlint_command_callbacks.vader
+++ b/test/linter/test_tex_textlint.vader
diff --git a/test/command_callback/test_texlab_command_callbacks.vader b/test/linter/test_texlab.vader
index 75fc2f25..75fc2f25 100644
--- a/test/command_callback/test_texlab_command_callbacks.vader
+++ b/test/linter/test_texlab.vader
diff --git a/test/command_callback/test_textlint_command_callbacks.vader b/test/linter/test_textlint.vader
index 6ec42b2d..6ec42b2d 100644
--- a/test/command_callback/test_textlint_command_callbacks.vader
+++ b/test/linter/test_textlint.vader
diff --git a/test/command_callback/test_thrift_command_callback.vader b/test/linter/test_thrift.vader
index cbada818..cbada818 100644
--- a/test/command_callback/test_thrift_command_callback.vader
+++ b/test/linter/test_thrift.vader
diff --git a/test/command_callback/test_tslint_command_callback.vader b/test/linter/test_tslint.vader
index 1b291d9f..1b291d9f 100644
--- a/test/command_callback/test_tslint_command_callback.vader
+++ b/test/linter/test_tslint.vader
diff --git a/test/command_callback/test_typescript_deno_lsp.vader b/test/linter/test_typescript_deno_lsp.vader
index 88b2e036..88b2e036 100644
--- a/test/command_callback/test_typescript_deno_lsp.vader
+++ b/test/linter/test_typescript_deno_lsp.vader
diff --git a/test/command_callback/test_typescript_tsserver_command_callback.vader b/test/linter/test_typescript_tsserver.vader
index 719ac184..719ac184 100644
--- a/test/command_callback/test_typescript_tsserver_command_callback.vader
+++ b/test/linter/test_typescript_tsserver.vader
diff --git a/test/command_callback/test_vcom_command_callbacks.vader b/test/linter/test_vcom.vader
index 77218f74..77218f74 100644
--- a/test/command_callback/test_vcom_command_callbacks.vader
+++ b/test/linter/test_vcom.vader
diff --git a/test/command_callback/test_verilator_command_callback.vader b/test/linter/test_verilator.vader
index b65f3459..b65f3459 100644
--- a/test/command_callback/test_verilator_command_callback.vader
+++ b/test/linter/test_verilator.vader
diff --git a/test/command_callback/test_vim_vimls.vader b/test/linter/test_vim_vimls.vader
index 47826a1a..47826a1a 100644
--- a/test/command_callback/test_vim_vimls.vader
+++ b/test/linter/test_vim_vimls.vader
diff --git a/test/command_callback/test_vint_command_callback.vader b/test/linter/test_vint.vader
index 4a224d01..4a224d01 100644
--- a/test/command_callback/test_vint_command_callback.vader
+++ b/test/linter/test_vint.vader
diff --git a/test/command_callback/test_vlog_command_callbacks.vader b/test/linter/test_vlog.vader
index a07944f7..a07944f7 100644
--- a/test/command_callback/test_vlog_command_callbacks.vader
+++ b/test/linter/test_vlog.vader
diff --git a/test/command_callback/test_vulture_command_callback.vader b/test/linter/test_vulture.vader
index 74709c9e..74709c9e 100644
--- a/test/command_callback/test_vulture_command_callback.vader
+++ b/test/linter/test_vulture.vader
diff --git a/test/command_callback/test_write_good_command_callback.vader b/test/linter/test_write_good.vader
index 8958dd6a..8958dd6a 100644
--- a/test/command_callback/test_write_good_command_callback.vader
+++ b/test/linter/test_write_good.vader
diff --git a/test/command_callback/test_xmllint_command_callback.vader b/test/linter/test_xmllint.vader
index 5a2377c2..5a2377c2 100644
--- a/test/command_callback/test_xmllint_command_callback.vader
+++ b/test/linter/test_xmllint.vader
diff --git a/test/command_callback/test_xo_command_callback.vader b/test/linter/test_xo.vader
index 1aa4c3f1..1aa4c3f1 100644
--- a/test/command_callback/test_xo_command_callback.vader
+++ b/test/linter/test_xo.vader
diff --git a/test/command_callback/test_xots_command_callback.vader b/test/linter/test_xots.vader
index cc38ff02..cc38ff02 100644
--- a/test/command_callback/test_xots_command_callback.vader
+++ b/test/linter/test_xots.vader
diff --git a/test/command_callback/test_xvhdl_command_callbacks.vader b/test/linter/test_xvhdl.vader
index 86f9a32d..86f9a32d 100644
--- a/test/command_callback/test_xvhdl_command_callbacks.vader
+++ b/test/linter/test_xvhdl.vader
diff --git a/test/command_callback/test_xvlog_command_callbacks.vader b/test/linter/test_xvlog.vader
index 564ac979..564ac979 100644
--- a/test/command_callback/test_xvlog_command_callbacks.vader
+++ b/test/linter/test_xvlog.vader
diff --git a/test/command_callback/test_yang_lsp_command_callbacks.vader b/test/linter/test_yang_lsp.vader
index 5be7501f..5be7501f 100644
--- a/test/command_callback/test_yang_lsp_command_callbacks.vader
+++ b/test/linter/test_yang_lsp.vader
diff --git a/test/command_callback/test_zig_zls_callbacks.vader b/test/linter/test_zig_zls.vader
index 6d814be4..6d814be4 100644
--- a/test/command_callback/test_zig_zls_callbacks.vader
+++ b/test/linter/test_zig_zls.vader