From e83dc0405ba0f14c166c4a0954fb119b961001da Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 13 Dec 2024 10:55:20 -0600 Subject: [PATCH] test(patch): Speed up path-bases test --- tests/testsuite/patch.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/testsuite/patch.rs b/tests/testsuite/patch.rs index 825dbea5937..e3e14b90587 100644 --- a/tests/testsuite/patch.rs +++ b/tests/testsuite/patch.rs @@ -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(); }