fix(test): stick tree-sitter-cpp fixture grammar to a specific hash
It's needed to fix tests fail: https://github.com/tree-sitter/tree-sitter-cpp/pull/202#issuecomment-1546279646 See CLI xtask notes in https://github.com/tree-sitter/tree-sitter/issues/1223
This commit is contained in:
parent
ceac2380ed
commit
09fe5f29d9
3 changed files with 3 additions and 2 deletions
|
|
@ -104,6 +104,7 @@ fn main() {
|
|||
|
||||
parse(&path, max_path_length, |source| {
|
||||
Query::new(language, str::from_utf8(source).unwrap())
|
||||
.with_context(|| format!("Query file path: {path:?}"))
|
||||
.expect("Failed to parse query");
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue