Skip to content

Commit

Permalink
fix(config): problem when no rhai feature (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonbrad authored Feb 10, 2024
1 parent f98b201 commit 792def2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ mod tests {
let conf = Config::from_filesystem(&filepath, &fs).unwrap();

assert_eq!(conf.extract_data().keys().len(), 13);
#[cfg(feature = "rhai")]
assert_eq!(conf.extract_translators().unwrap().keys().len(), 0);
assert_eq!(conf.extract_translation().keys().len(), 0);
}
Expand Down

0 comments on commit 792def2

Please sign in to comment.