diff --git a/src/config.rs b/src/config.rs index f200f627..f1138f98 100644 --- a/src/config.rs +++ b/src/config.rs @@ -570,4 +570,10 @@ mod test { ); assert_eq!(get_config().pools["simple_db"].users["0"].pool_size, 5); } + + #[tokio::test] + async fn test_serialize_configs() { + parse("pgcat.toml").await.unwrap(); + print!("{}", toml::to_string(&get_config()).unwrap()); + } }