Start implementing a test suite for the CLI

We have very few tests today so this starts to add the basics of a test
suite which compiles Cargo projects on-the-fly which will hopefully help
us bolster the amount of assertions we can make about the output.
This commit is contained in:
Alex Crichton
2019-02-28 11:37:08 -08:00
parent 6edb40a807
commit 362777fc75
7 changed files with 319 additions and 9 deletions

View File

@ -716,7 +716,7 @@ impl OutputMode {
fn bundler(&self) -> bool {
match self {
OutputMode::Bundler => true,
OutputMode::Bundler { .. } => true,
_ => false,
}
}