#[cfg(test)] mod tests { use procmeta_core::expand::token::expand; use syn::{parse_quote, DeriveInput}; #[test] fn test_expand() -> anyhow::Result<()> { let input: DeriveInput = parse_quote! { #[derive(GetTokenStream)] pub enum Ass { S(Student), } }; let token_stream = expand(input).to_string(); println!("{token_stream}"); Ok(()) } }