test: improve assertion message in node-types compatibility test

This commit is contained in:
bglgwyng 2025-11-20 14:42:04 +09:00
parent 096a844cda
commit 921eee76b6

View file

@ -1292,7 +1292,12 @@ fn test_parser_and_node_types_compatibility(grammar_name: &str) {
}
for (key, symbol_ids) in symbol_ids_by_kind_from_node_types {
assert_eq!(symbol_ids_by_kind_from_language.get(&key), symbol_ids);
assert_eq!(
symbol_ids,
symbol_ids_by_kind_from_language.get(&key),
"{:?}",
key
);
}
}