We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eaba873 + 35f2c7e commit f2fa9a2Copy full SHA for f2fa9a2
crates/parser/src/codegen.rs
@@ -64,7 +64,11 @@ mod tests {
64
65
debug!("selected node: {:#?}", node_graph[node_index]);
66
67
- assert_eq!(node_graph[node_index].properties, expected);
+ assert!(node_graph[node_index]
68
+ .properties
69
+ .iter()
70
+ .all(|p| { expected.contains(p) }));
71
+ assert_eq!(node_graph[node_index].properties.len(), expected.len());
72
}
73
74
#[test]
crates/parser/tests/statement_parser_test.rs
@@ -28,9 +28,8 @@ fn valid_statements() {
28
if result.is_err() {
29
assert!(
30
false,
31
- "Failed to parse statement {}: {:#?}",
32
- test_name,
33
- result.unwrap_err()
+ "Failed to parse statement {}:\n{}",
+ test_name, contents
34
);
35
} else {
36
info!(
0 commit comments