Load all fixture grammars dynamically
This way the build doesn't take forever any time a single grammar has been regenerated.
This commit is contained in:
parent
5c3c1dd0bd
commit
a8292f4fe9
10 changed files with 119 additions and 143 deletions
|
|
@ -1,6 +1,10 @@
|
|||
use super::languages::rust;
|
||||
use super::fixtures::get_language;
|
||||
use std::thread;
|
||||
use tree_sitter::{InputEdit, LogType, Parser, Point, PropertySheet};
|
||||
use tree_sitter::{InputEdit, LogType, Parser, Point, PropertySheet, Language};
|
||||
|
||||
fn rust() -> Language {
|
||||
get_language("rust")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_basic_parsing() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue