Skip to content

Commit e83dc04

Browse files
committed
test(patch): Speed up path-bases test
1 parent cb30ab6 commit e83dc04

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/testsuite/patch.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3078,7 +3078,12 @@ fn patch_with_base() {
30783078
.file("src/lib.rs", "use bar::hello as _;")
30793079
.build();
30803080

3081-
p.cargo("build -v")
3081+
p.cargo("tree")
30823082
.masquerade_as_nightly_cargo(&["path-bases"])
3083+
.with_stdout_data(str![[r#"
3084+
foo v0.5.0 ([ROOT]/foo)
3085+
└── bar v0.5.0 ([ROOT]/bar)
3086+
3087+
"#]])
30833088
.run();
30843089
}

0 commit comments

Comments
 (0)