summaryrefslogtreecommitdiff
path: root/test/command_callback/test_rustc_command_callback.vader
diff options
context:
space:
mode:
authorRicardo Catalinas Jiménez <r@untroubled.be>2018-08-10 21:50:52 +0100
committerRicardo Catalinas Jiménez <r@untroubled.be>2018-08-10 21:50:52 +0100
commitdb003a4361613216f88b3525b37e34ed8e3019ab (patch)
tree4a73e84c0f3b1a31d1eb9f1b2b0d3d4e665c95a0 /test/command_callback/test_rustc_command_callback.vader
parent1e6b1d9be28495ead50e24b0d1eb93963dd92f4c (diff)
downloadale-db003a4361613216f88b3525b37e34ed8e3019ab.zip
Fix #1684: Use the correct flag name in rustc linter
The rust compiler renamed the option '-Z no-trans' to '-Z no-codegen'. https://github.com/rust-lang/rust-enhanced/issues/281
Diffstat (limited to 'test/command_callback/test_rustc_command_callback.vader')
-rw-r--r--test/command_callback/test_rustc_command_callback.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/command_callback/test_rustc_command_callback.vader b/test/command_callback/test_rustc_command_callback.vader
index 7ca02760..f765e725 100644
--- a/test/command_callback/test_rustc_command_callback.vader
+++ b/test/command_callback/test_rustc_command_callback.vader
@@ -5,7 +5,7 @@ After:
call ale#assert#TearDownLinterTest()
Execute(The default command should be correct):
- AssertLinter 'rustc', 'rustc --error-format=json -Z no-trans -'
+ AssertLinter 'rustc', 'rustc --error-format=json -Z no-codegen -'
Execute(The options should be configurable):
let b:ale_rust_rustc_options = '--foo'
@@ -15,7 +15,7 @@ Execute(The options should be configurable):
Execute(Some default paths should be included when the project is a Cargo project):
call ale#test#SetFilename('cargo_paths/test.rs')
- AssertLinter 'rustc', 'rustc --error-format=json -Z no-trans'
+ AssertLinter 'rustc', 'rustc --error-format=json -Z no-codegen'
\ . ' -L ' . ale#Escape(ale#path#GetAbsPath(g:dir, 'cargo_paths/target/debug/deps'))
\ . ' -L ' . ale#Escape(ale#path#GetAbsPath(g:dir, 'cargo_paths/target/release/deps'))
\ . ' -'