#4454 Clean up more tests and code

* Remove some tests we no longer need
* Delete blocks of redundant code
* Compress some tests together to simplify them
* Remove a little code for ancient linter versions
* Escape more executables we didn't escape before
* Rename a deno option that didn't match our conventions
This commit is contained in:
w0rp
2023-09-16 22:22:01 +01:00
parent 4b11cf21dc
commit ae1d051504
98 changed files with 257 additions and 674 deletions

View File

@@ -1,3 +1,11 @@
Before:
Save g:ale_rust_ignore_secondary_spans
let g:ale_rust_ignore_secondary_spans = 0
After:
Restore
Execute(The Rust handler should handle rustc output):
call ale#test#SetFilename('src/playpen.rs')
@@ -340,7 +348,6 @@ Execute(The Rust handler should find correct files):
Execute(The Rust handler should remove secondary spans if set):
call ale#test#SetFilename('src/noerrors/mod.rs')
let g:ale_rust_ignore_secondary_spans = 0
AssertEqual
\ [
\ {
@@ -416,6 +423,7 @@ Execute(The Rust handler should remove secondary spans if set):
\ ])
let g:ale_rust_ignore_secondary_spans = 1
AssertEqual
\ [
\ {