Skip to content

Commit c4a9e45

Browse files
authored
test(build-std): download deps first (#14861)
### What does this PR try to resolve? Download dependencies first, So that we can assert the full output of `cargo test` without wildcard. This regressed since #14850 ### How should we test and review this PR? CI passes.
2 parents 917e646 + 47c2095 commit c4a9e45

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/build-std/main.rs

+3
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,9 @@ fn test_proc_macro() {
379379
.file("src/lib.rs", "")
380380
.build();
381381

382+
// Download dependencies first,
383+
// so we can compare `cargo test` output without any wildcard
384+
p.cargo("fetch").build_std().run();
382385
p.cargo("test --lib")
383386
.env_remove(cargo_util::paths::dylib_path_envvar())
384387
.build_std()

0 commit comments

Comments
 (0)