Skip to content

Commit

Permalink
Increase iteration count for asset tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cart committed Sep 9, 2023
1 parent 1980ac8 commit 84f97be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_asset/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ mod tests {
panic!("Ran out of loops to return `Some` from `predicate`");
}

const LARGE_ITERATION_COUNT: usize = 50;
const LARGE_ITERATION_COUNT: usize = 10000;

fn get<A: Asset>(world: &World, id: AssetId<A>) -> Option<&A> {
world.resource::<Assets<A>>().get(id)
Expand Down

0 comments on commit 84f97be

Please sign in to comment.