Skip to content

Commit 0aae17f

Browse files
committed
more unit tests
1 parent 6873aac commit 0aae17f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

crate_universe/src/cli/generate.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,5 +344,10 @@ mod tests {
344344
.packages
345345
.iter()
346346
.any(|pkg| pkg.name.as_str() == "child"));
347+
348+
assert!(filtered_lockfile
349+
.packages
350+
.iter()
351+
.any(|pkg| pkg.name.as_str() == "anyhow"));
347352
}
348353
}

0 commit comments

Comments
 (0)