Skip to content

Commit

Permalink
Only run dynamic asset test when standard_dynamic_assets feature is e…
Browse files Browse the repository at this point in the history
…nabled
  • Loading branch information
NiklasEi committed Feb 24, 2024
1 parent 5bcae74 commit ca07c1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bevy_asset_loader/tests/reload_dynamic_asset_files.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#![allow(dead_code, unused_imports)]

use bevy::app::AppExit;
use bevy::audio::AudioPlugin;
use bevy::prelude::*;
use bevy_asset_loader::prelude::*;

#[cfg(feature = "standard_dynamic_assets")]
#[test]
fn main() {
let mut app = App::new();
Expand Down

0 comments on commit ca07c1f

Please sign in to comment.