mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
Cargo fmt
This commit is contained in:
parent
9c2b375ba9
commit
ee38d02591
@ -92,11 +92,17 @@ fn inline_config() {
|
||||
|
||||
// multiple overriding invocations
|
||||
assert_that!(
|
||||
&["--print-config", "current", ".",
|
||||
"--config", "color=never,edition=2018",
|
||||
"--config", "color=always,format_strings=true"],
|
||||
contains("color = \"Always\"") &&
|
||||
contains("edition = \"2018\"") &&
|
||||
contains("format_strings = true")
|
||||
&[
|
||||
"--print-config",
|
||||
"current",
|
||||
".",
|
||||
"--config",
|
||||
"color=never,edition=2018",
|
||||
"--config",
|
||||
"color=always,format_strings=true"
|
||||
],
|
||||
contains("color = \"Always\"")
|
||||
&& contains("edition = \"2018\"")
|
||||
&& contains("format_strings = true")
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user