Skip to content

Commit

Permalink
add config template parsing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Thaumy committed Dec 12, 2024
1 parent 79b6802 commit 33ff483
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,8 @@ where
let cfg: Config = toml::from_str(&cfg)?;
Ok(cfg)
}

#[test]
fn parse_config_template() {
toml::from_str::<Config>(TEMPLATE).unwrap();
}

0 comments on commit 33ff483

Please sign in to comment.