Remove cfg(feature = stat) for localization test

This commit is contained in:
juliancoffee 2022-08-25 14:20:54 +03:00
parent f2eb1fe7c8
commit ae399b3c7c
2 changed files with 2 additions and 3 deletions

View File

@ -5,4 +5,4 @@ export VELOREN_ASSETS
time cargo test \ time cargo test \
--package veloren-common-assets asset_tweak::tests \ --package veloren-common-assets asset_tweak::tests \
--features asset_tweak --lib && --features asset_tweak --lib &&
time cargo test --features stat time cargo test

View File

@ -3,7 +3,7 @@ mod raw;
use error::ResourceErr; use error::ResourceErr;
#[cfg(any(feature = "bin", feature = "stat"))] #[cfg(any(feature = "bin", feature = "stat", test))]
pub mod analysis; pub mod analysis;
use fluent_bundle::{bundle::FluentBundle, FluentResource}; use fluent_bundle::{bundle::FluentBundle, FluentResource};
@ -514,7 +514,6 @@ mod tests {
} }
#[test] #[test]
#[cfg(feature = "stat")]
fn test_strict_all_localizations() { fn test_strict_all_localizations() {
use analysis::{Language, ReferenceLanguage}; use analysis::{Language, ReferenceLanguage};
use assets::find_root; use assets::find_root;