test: improve assertion message in node-types compatibility test
This commit is contained in:
parent
096a844cda
commit
921eee76b6
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue