diff options
Diffstat (limited to 'test/linter')
-rw-r--r-- | test/linter/test_c_flawfinder.vader | 2 | ||||
-rw-r--r-- | test/linter/test_cpp_flawfinder.vader | 2 | ||||
-rw-r--r-- | test/linter/test_cs_csc.vader | 4 | ||||
-rw-r--r-- | test/linter/test_cs_mcsc.vader | 4 | ||||
-rw-r--r-- | test/linter/test_htmlhint.vader | 2 | ||||
-rw-r--r-- | test/linter/test_ocaml_ols.vader | 2 | ||||
-rw-r--r-- | test/linter/test_pyright.vader | 2 | ||||
-rw-r--r-- | test/linter/test_reason_ols.vader | 2 | ||||
-rw-r--r-- | test/linter/test_rego_opacheck.vader | 2 | ||||
-rw-r--r-- | test/linter/test_remark_lint.vader | 2 | ||||
-rw-r--r-- | test/linter/test_rust_rls.vader | 2 | ||||
-rw-r--r-- | test/linter/test_terraform_terraform.vader | 2 | ||||
-rw-r--r-- | test/linter/test_texlab.vader | 2 |
13 files changed, 15 insertions, 15 deletions
diff --git a/test/linter/test_c_flawfinder.vader b/test/linter/test_c_flawfinder.vader index 38385e2b..6ef2a40d 100644 --- a/test/linter/test_c_flawfinder.vader +++ b/test/linter/test_c_flawfinder.vader @@ -18,7 +18,7 @@ Execute(Additional flawfinder options should be configurable): AssertLinter 'flawfinder', \ ale#Escape('flawfinder') . ' -CDQS --foobar --minlevel=1 %t' -Execute(The flawfinder exectable should be configurable): +Execute(The flawfinder executable should be configurable): let b:ale_c_flawfinder_executable = 'foo/bar' AssertLinter 'foo/bar', ale#Escape('foo/bar') . ' -CDQS --minlevel=1 %t' diff --git a/test/linter/test_cpp_flawfinder.vader b/test/linter/test_cpp_flawfinder.vader index 3f4067ea..69369536 100644 --- a/test/linter/test_cpp_flawfinder.vader +++ b/test/linter/test_cpp_flawfinder.vader @@ -20,7 +20,7 @@ Execute(Additional flawfinder options should be configurable): AssertLinter 'flawfinder', \ ale#Escape('flawfinder') . ' -CDQS --foobar --minlevel=1 %t' -Execute(The flawfinder exectable should be configurable): +Execute(The flawfinder executable should be configurable): let b:ale_cpp_flawfinder_executable = 'foo/bar' AssertLinter 'foo/bar', ale#Escape('foo/bar') . ' -CDQS --minlevel=1 %t' diff --git a/test/linter/test_cs_csc.vader b/test/linter/test_cs_csc.vader index 28d0304a..c01de7fd 100644 --- a/test/linter/test_cs_csc.vader +++ b/test/linter/test_cs_csc.vader @@ -13,13 +13,13 @@ Execute(The options should be be used in the command): AssertLinter 'csc', 'csc /unsafe /out:TEMP /t:module /recurse:' . ale#Escape('*.cs') -Execute(The souce path should be be used in the command): +Execute(The source path should be be used in the command): let g:ale_cs_csc_source = '../foo/bar' AssertLinterCwd '../foo/bar' AssertLinter 'csc', 'csc /unsafe /out:TEMP /t:module /recurse:' . ale#Escape('*.cs') -Execute(The list of search pathes for assemblies should be be used in the command if not empty): +Execute(The list of search paths for assemblies should be be used in the command if not empty): let g:ale_cs_csc_assembly_path = ['/usr/lib/mono', '../foo/bar'] AssertLinter 'csc', 'csc /unsafe' diff --git a/test/linter/test_cs_mcsc.vader b/test/linter/test_cs_mcsc.vader index e784cf15..8634a5f0 100644 --- a/test/linter/test_cs_mcsc.vader +++ b/test/linter/test_cs_mcsc.vader @@ -13,13 +13,13 @@ Execute(The options should be be used in the command): AssertLinter 'mcs', 'mcs -unsafe -pkg:dotnet -out:TEMP -t:module -recurse:' . ale#Escape('*.cs') -Execute(The souce path should be be used in the command): +Execute(The source path should be be used in the command): let g:ale_cs_mcsc_source = '../foo/bar' AssertLinterCwd '../foo/bar' AssertLinter 'mcs', 'mcs -unsafe -out:TEMP -t:module -recurse:' . ale#Escape('*.cs') -Execute(The list of search pathes for assemblies should be be used in the command if not empty): +Execute(The list of search paths for assemblies should be be used in the command if not empty): let g:ale_cs_mcsc_assembly_path = ['/usr/lib/mono', '../foo/bar'] AssertLinter 'mcs', 'mcs -unsafe' diff --git a/test/linter/test_htmlhint.vader b/test/linter/test_htmlhint.vader index df5797af..4475c1a7 100644 --- a/test/linter/test_htmlhint.vader +++ b/test/linter/test_htmlhint.vader @@ -19,7 +19,7 @@ Execute(The default command should be correct): AssertLinter g:node_executable, \ ale#Escape(g:node_executable) . ' --format=unix %t' -Execute(The global executable should be uesd if the option is set): +Execute(The global executable should be used if the option is set): let g:ale_html_htmlhint_executable = 'foo' let g:ale_html_htmlhint_use_global = 1 diff --git a/test/linter/test_ocaml_ols.vader b/test/linter/test_ocaml_ols.vader index 89734dce..ddab9958 100644 --- a/test/linter/test_ocaml_ols.vader +++ b/test/linter/test_ocaml_ols.vader @@ -27,7 +27,7 @@ Execute(The local executable should be used when available): AssertLinter ale#path#Simplify(g:dir . '/../test-files/ols/node_modules/.bin/ocaml-language-server'), \ ale#Escape(ale#path#Simplify(g:dir . '/../test-files/ols/node_modules/.bin/ocaml-language-server')) . ' --stdio' -Execute(The gloabl executable should always be used when use_global is set): +Execute(The global executable should always be used when use_global is set): let g:ale_ocaml_ols_use_global = 1 call ale#test#SetFilename('../test-files/ols/file.ml') diff --git a/test/linter/test_pyright.vader b/test/linter/test_pyright.vader index 51510cf2..95dfd853 100644 --- a/test/linter/test_pyright.vader +++ b/test/linter/test_pyright.vader @@ -40,7 +40,7 @@ Execute(virtualenv paths should be set in configuration by default): \ }, \} -Execute(The pythonPath should be set based on whatever the ovveride for the venvPath is set to): +Execute(The pythonPath should be set based on whatever the override for the venvPath is set to): call ale#test#SetFilename('../test-files/python/with_virtualenv/subdir/foo/bar.py') " This overrides the default detection of the path. diff --git a/test/linter/test_reason_ols.vader b/test/linter/test_reason_ols.vader index fb90e36f..aab1285f 100644 --- a/test/linter/test_reason_ols.vader +++ b/test/linter/test_reason_ols.vader @@ -28,7 +28,7 @@ Execute(The local executable should be used when available): \ ale#path#Simplify(g:dir . '/../test-files/ols/node_modules/.bin/ocaml-language-server'), \ ale#Escape(ale#path#Simplify(g:dir . '/../test-files/ols/node_modules/.bin/ocaml-language-server')) . ' --stdio' -Execute(The gloabl executable should always be used when use_global is set): +Execute(The global executable should always be used when use_global is set): let g:ale_reason_ols_use_global = 1 call ale#test#SetFilename('../test-files/ols/file.re') diff --git a/test/linter/test_rego_opacheck.vader b/test/linter/test_rego_opacheck.vader index 886a9339..3b672282 100644 --- a/test/linter/test_rego_opacheck.vader +++ b/test/linter/test_rego_opacheck.vader @@ -10,7 +10,7 @@ Execute(The default command should be correct): AssertLinter 'opa', \ ale#Escape('opa') . ' check %s --format json ' -Execute(The default command should be overriden): +Execute(The default command should be overridden): let b:ale_rego_opacheck_executable = '/bin/other/opa' AssertLinter '/bin/other/opa', \ ale#Escape('/bin/other/opa') . ' check %s --format json ' diff --git a/test/linter/test_remark_lint.vader b/test/linter/test_remark_lint.vader index a34f0a90..7f69008c 100644 --- a/test/linter/test_remark_lint.vader +++ b/test/linter/test_remark_lint.vader @@ -29,7 +29,7 @@ Execute(The local executable from .bin should be used if available): \ ale#Escape(ale#path#Simplify(g:dir . '/../test-files/remark_lint/with_bin_path/node_modules/.bin/remark')) \ . ' --no-stdout --no-color' -Execute(The global executable should be uesd if the option is set): +Execute(The global executable should be used if the option is set): let b:ale_markdown_remark_lint_use_global = 1 call ale#test#SetFilename('../test-files/remark_lint/with_bin_path/foo.md') diff --git a/test/linter/test_rust_rls.vader b/test/linter/test_rust_rls.vader index 62c90d61..d481e858 100644 --- a/test/linter/test_rust_rls.vader +++ b/test/linter/test_rust_rls.vader @@ -12,7 +12,7 @@ Execute(The toolchain should be configurable): AssertLinter 'rls', ale#Escape('rls') . ' +' . ale#Escape('stable') -Execute(The toolchain should be ommitted if not given): +Execute(The toolchain should be omitted if not given): let g:ale_rust_rls_toolchain = '' AssertLinter 'rls', ale#Escape('rls') diff --git a/test/linter/test_terraform_terraform.vader b/test/linter/test_terraform_terraform.vader index 25ca652a..697ffcda 100644 --- a/test/linter/test_terraform_terraform.vader +++ b/test/linter/test_terraform_terraform.vader @@ -9,7 +9,7 @@ Execute(The default command should be correct): AssertLinter 'terraform', \ ale#Escape('terraform') . ' validate -no-color -json ' -Execute(The default command should be overriden): +Execute(The default command should be overridden): let b:ale_terraform_terraform_executable = '/bin/other/terraform' AssertLinter '/bin/other/terraform', \ ale#Escape('/bin/other/terraform') . ' validate -no-color -json ' diff --git a/test/linter/test_texlab.vader b/test/linter/test_texlab.vader index 72b78745..b60b2083 100644 --- a/test/linter/test_texlab.vader +++ b/test/linter/test_texlab.vader @@ -29,7 +29,7 @@ Execute(The options should be configurable): AssertLinter 'texlab', ale#Escape('texlab') . ' ' . b:ale_tex_texlab_options -Execute(Should accpet configuration settings): +Execute(Should accept configuration settings): AssertLSPConfig {} let b:ale_tex_texlab_config = {'build':{'onSave':v:true}} AssertLSPConfig {'build':{'onSave':v:true}} |