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) {
591591#[ test]
592592fn test_dependency_unification ( ) {
593593 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!
595595}
596596
597597fn test_dependency_unification_inner ( sbom : bool ) {
@@ -605,12 +605,12 @@ fn test_dependency_unification_inner(sbom: bool) {
605605 let toplevel_crate_bin = & bins. get ( "top_level_crate" ) . unwrap ( ) [ 0 ] ;
606606 let dep_info = get_dependency_info ( toplevel_crate_bin) ;
607607 eprintln ! ( "{toplevel_crate_bin} dependency info: {dep_info:?}" ) ;
608- assert ! ( dep_info. packages. len( ) == 2 ) ;
609608 // optional_transitive_dep should not be present, it's only reachable through dev-dependencies
610609 assert ! ( !dep_info
611610 . packages
612611 . iter( )
613612 . any( |p| p. name == "optional_transitive_dep" ) ) ;
613+ assert ! ( dep_info. packages. len( ) == 2 ) ;
614614}
615615
616616#[ test]
You can’t perform that action at this time.
0 commit comments