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");
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ fetch_grammar() {
|
|||
|
||||
fetch_grammar bash master
|
||||
fetch_grammar c master
|
||||
fetch_grammar cpp master
|
||||
fetch_grammar cpp 670404d7c689be1c868a46f919ba2a3912f2b7ef
|
||||
fetch_grammar embedded-template master
|
||||
fetch_grammar go master
|
||||
fetch_grammar html master
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
call:fetch_grammar bash master
|
||||
call:fetch_grammar c master
|
||||
call:fetch_grammar cpp master
|
||||
call:fetch_grammar cpp 670404d7c689be1c868a46f919ba2a3912f2b7ef
|
||||
call:fetch_grammar embedded-template master
|
||||
call:fetch_grammar go master
|
||||
call:fetch_grammar html master
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue