diff --git a/ts-rs/tests/list.rs b/ts-rs/tests/list.rs index e16ada2..0ea3bd6 100644 --- a/ts-rs/tests/list.rs +++ b/ts-rs/tests/list.rs @@ -7,6 +7,5 @@ fn list() { data: Option> } - println!("{:?}", List::decl()); - assert_eq!(List::decl(), ""); + assert_eq!(List::decl(&[]), "interface List {\n data: Array | null,\n}"); } \ No newline at end of file