Fix compile error in parser hang test
This commit is contained in:
parent
4a8e4b1963
commit
82c1b5ead3
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ fn test_grammar_that_should_hang_and_not_segfault() {
|
|||
get_test_language(&parser_name, &parser_code, Some(test_grammar_dir.as_path()));
|
||||
|
||||
let mut parser = Parser::new();
|
||||
parser.set_language(language).unwrap();
|
||||
parser.set_language(&language).unwrap();
|
||||
|
||||
let code_that_should_hang = "\nHello";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue