File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -591,7 +591,7 @@ fn test_proc_macro_inner(sbom: bool) {
591
591
#[ test]
592
592
fn test_dependency_unification ( ) {
593
593
test_dependency_unification_inner ( false ) ;
594
- //test_dependency_unification_inner(true); // TODO: this fails, I wonder why?
594
+ //test_dependency_unification_inner(true); // TODO: this fails!
595
595
}
596
596
597
597
fn test_dependency_unification_inner ( sbom : bool ) {
@@ -605,12 +605,12 @@ fn test_dependency_unification_inner(sbom: bool) {
605
605
let toplevel_crate_bin = & bins. get ( "top_level_crate" ) . unwrap ( ) [ 0 ] ;
606
606
let dep_info = get_dependency_info ( toplevel_crate_bin) ;
607
607
eprintln ! ( "{toplevel_crate_bin} dependency info: {dep_info:?}" ) ;
608
- assert ! ( dep_info. packages. len( ) == 2 ) ;
609
608
// optional_transitive_dep should not be present, it's only reachable through dev-dependencies
610
609
assert ! ( !dep_info
611
610
. packages
612
611
. iter( )
613
612
. any( |p| p. name == "optional_transitive_dep" ) ) ;
613
+ assert ! ( dep_info. packages. len( ) == 2 ) ;
614
614
}
615
615
616
616
#[ test]
You can’t perform that action at this time.
0 commit comments