Skip to content

Commit d488d33

Browse files
committed
let verify method run in test settings
1 parent 6c79f54 commit d488d33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/src/core/download.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ pub(crate) fn verify(exec_ctx: &ExecutionContext, path: &Path, expected: &str) -
857857
println!("verifying {}", path.display());
858858
});
859859

860-
if exec_ctx.dry_run() {
860+
if exec_ctx.dry_run() && !cfg!(test) {
861861
return false;
862862
}
863863

0 commit comments

Comments
 (0)