Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Shorten code
  • Loading branch information
cmichi committed Jan 22, 2021
commit 08cd2cafa0c06855d31f2955a551ddce169f965f
3 changes: 1 addition & 2 deletions src/cmd/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,6 @@ mod tests {
fn generate_metadata() {
env_logger::try_init().ok();
with_tmp_dir(|path| {
let build_artifact = BuildArtifacts::All;
cmd::new::execute("new_project", Some(path)).expect("new project creation failed");
let working_dir = path.join("new_project");
let manifest_path = ManifestPath::new(working_dir.join("Cargo.toml"))?;
Expand All @@ -378,7 +377,7 @@ mod tests {
let dest_bundle = cmd::metadata::execute(
&test_manifest.manifest_path,
None,
build_artifact,
BuildArtifacts::All,
UnstableFlags::default(),
)?
.dest_bundle
Expand Down