Skip to content

Commit 0d63cc6

Browse files
zaniebkonstin
andcommitted
Update test following pubgrub-rs#163 (#15)
* Update test following pubgrub-rs#163 * Fix compiler warning --------- Co-authored-by: konstin <[email protected]>
1 parent 6b8955e commit 0d63cc6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/examples.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,12 +231,12 @@ fn confusing_with_lots_of_holes() {
231231
};
232232
assert_eq!(
233233
&DefaultStringReporter::report(&derivation_tree),
234-
r#"Because there is no available version for bar and foo 1 | 2 | 3 | 4 | 5 depends on bar, foo 1 | 2 | 3 | 4 | 5 is forbidden.
235-
And because there is no version of foo in <1 | >1, <2 | >2, <3 | >3, <4 | >4, <5 | >5 and root 1 depends on foo, root 1 is forbidden."#
234+
r#"Because there is no available version for bar and foo ==1 | ==2 | ==3 | ==4 | ==5 depends on bar, foo ==1 | ==2 | ==3 | ==4 | ==5 is forbidden.
235+
And because there is no version of foo in <1 | >1, <2 | >2, <3 | >3, <4 | >4, <5 | >5 and root ==1 depends on foo, root ==1 is forbidden."#
236236
);
237237
derivation_tree.collapse_no_versions();
238238
assert_eq!(
239239
&DefaultStringReporter::report(&derivation_tree),
240-
"Because foo depends on bar and root 1 depends on foo, root 1 is forbidden."
240+
"Because foo depends on bar and root ==1 depends on foo, root ==1 is forbidden."
241241
);
242242
}

0 commit comments

Comments
 (0)