pub fn test<O, E, R>(output: O, expected: E, spans: &str) -> bool where
    O: IntoIterator,
    <O as IntoIterator>::Item: Token<Rule = R>,
    E: IntoIterator<Item = R>,
    R: Eq + Sized + Debug