diff --git a/crates/parser/src/codegen.rs b/crates/parser/src/codegen.rs index 14f236a8..30c5a28c 100644 --- a/crates/parser/src/codegen.rs +++ b/crates/parser/src/codegen.rs @@ -66,6 +66,8 @@ mod tests { debug!("selected node: {:#?}", node_graph[node_index]); + // note: even though we test for strict equality of the two vectors the order + // of the properties does not have to match the order of the tokens in the string assert_eq!(node_graph[node_index].properties, expected); assert_eq!(node_graph[node_index].properties.len(), expected.len()); }