| //! this file tests that when the commands being run are shown |
| //! in the output, their arguments are quoted properly |
| //! so that the command can be run in a terminal |
| use crate::support::project; |
| fn features_are_quoted() { |
| authors = ["mikeyhew@example.com"] |
| default = ["some_feature"] |
| .file("src/main.rs", "fn main() {error}") |
| r#"[RUNNING] `rustc [..] --cfg 'feature="default"' --cfg 'feature="some_feature"' [..]`"# |
| process didn't exit successfully: [..] --cfg 'feature="default"' --cfg 'feature="some_feature"' [..]"# |