1use jgenesis_proc_macros::ConfigDisplay;
2
3#[derive(ConfigDisplay)]
4struct Config<T> {
5    field: T,
6}
7
8#[test]
9fn config_display_generic() {
10    let config = Config { field: String::from("hello") };
11    let s = format!("config: {config}");
12    assert_eq!(s, "config: \n  field: hello");
13}