let verify method run in test settings

This commit is contained in:
bit-aloo 2025-09-16 21:17:15 +05:30
parent 6c79f547f9
commit d488d33fd6
No known key found for this signature in database

View file

@ -857,7 +857,7 @@ pub(crate) fn verify(exec_ctx: &ExecutionContext, path: &Path, expected: &str) -
println!("verifying {}", path.display());
});
if exec_ctx.dry_run() {
if exec_ctx.dry_run() && !cfg!(test) {
return false;
}