Skip to content

Commit

Permalink
Fix formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuereth committed Nov 27, 2024
1 parent e707f75 commit 7e12de7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions crates/weaver_forge/src/extensions/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,10 @@ mod tests {
fn test_acronym_filter() {
let mut env = Environment::new();
let ctx = serde_json::Value::Null;
let config =
WeaverConfig {
acronyms: Some(vec!["Html".to_owned(), "iOS".to_owned(), "API".to_owned()]),
..Default::default()
};
let config = WeaverConfig {
acronyms: Some(vec!["Html".to_owned(), "iOS".to_owned(), "API".to_owned()]),
..Default::default()
};
add_filters(&mut env, &config);
assert_eq!(
env.render_str("{{ 'api' | acronym }}", &ctx).unwrap(),
Expand Down

0 comments on commit 7e12de7

Please sign in to comment.