summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/package/dag.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/package/dag.rs b/src/package/dag.rs
index 5956c60..46c0dc8 100644
--- a/src/package/dag.rs
+++ b/src/package/dag.rs
@@ -649,8 +649,8 @@ mod tests {
assert!(ps.iter().any(|p| *p.version() == pversion("1")));
// Not in the tree:
- assert!(!ps.iter().any(|p| *p.name() == pname("b")));
- assert!(!ps.iter().any(|p| *p.version() == pversion("2")));
+ assert!(!ps.iter().any(|p| *p.name() == pname("b")), "'b' should not be in tree, but is: {:?}", ps);
+ assert!(!ps.iter().any(|p| *p.version() == pversion("2")), "'2' should not be in tree, but is: {:?}", ps);
}
// Test whether the dependency DAG is correctly build if a image is used, but not the one