Add back missing assert

This commit is contained in:
Edwin Cheng 2019-04-19 21:52:54 +08:00
parent 763569017a
commit 1afde29adb

View file

@ -209,6 +209,7 @@ impl_froms!(TokenTree: Leaf, Subtree);
pub(crate) fn assert_expansion(rules: &MacroRules, invocation: &str, expansion: &str) {
let expanded = expand(rules, invocation);
assert_eq!(expanded.to_string(), expansion);
let tree = token_tree_to_macro_items(&expanded);