Skip to content

Commit 9989bba

Browse files
Remove report_internal test
1 parent a701da7 commit 9989bba

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

crates/bevy_ecs/src/schedule/ambiguity_detection.rs

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -437,31 +437,4 @@ mod tests {
437437
6
438438
);
439439
}
440-
441-
#[test]
442-
fn report_internal() {
443-
let mut test_stage = SystemStage::parallel();
444-
let mut world = World::new();
445-
world.insert_resource(TestResource);
446-
447-
test_stage
448-
// Ambiguous with E and F
449-
.add_system(system_a)
450-
// Internal ambiguities are ignored by default
451-
.add_system(bevy_render::system_e)
452-
.add_system(bevy_render::system_f);
453-
454-
// We need to ensure that the schedule has been properly initialized
455-
test_stage.initialize(&mut world);
456-
457-
assert_eq!(
458-
test_stage.n_ambiguities(ReportExecutionOrderAmbiguities::Verbose),
459-
2
460-
);
461-
462-
assert_eq!(
463-
test_stage.n_ambiguities(ReportExecutionOrderAmbiguities::ReportInternal),
464-
3
465-
);
466-
}
467440
}

0 commit comments

Comments
 (0)