Skip to content

Commit

Permalink
test(patch): Speed up path-bases test
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Dec 13, 2024
1 parent cb30ab6 commit e83dc04
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/testsuite/patch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3078,7 +3078,12 @@ fn patch_with_base() {
.file("src/lib.rs", "use bar::hello as _;")
.build();

p.cargo("build -v")
p.cargo("tree")
.masquerade_as_nightly_cargo(&["path-bases"])
.with_stdout_data(str![[r#"
foo v0.5.0 ([ROOT]/foo)
└── bar v0.5.0 ([ROOT]/bar)
"#]])
.run();
}

0 comments on commit e83dc04

Please sign in to comment.