Function generate_test

Source
fn generate_test(slug: &Path, structure: &Structure<'_>) -> TokenStream
Expand description

Generates a #[test] that verifies that all referenced variables exist on this structure.