mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-02 21:44:34 +00:00
Set timeout in REPL
This commit is contained in:
parent
34a25290aa
commit
1e3819b416
3 changed files with 17 additions and 4 deletions
|
@ -127,7 +127,7 @@ mod tests {
|
|||
#[test]
|
||||
fn test_parser1() -> Result<(), ParserRunnerErrors> {
|
||||
let input = Input::File(FILE1.into());
|
||||
let cfg = ErgConfig::new("exec", 1, false, None, input.clone(), "<module>", 2);
|
||||
let cfg = ErgConfig::new("exec", 1, false, None, 100, input.clone(), "<module>", 2);
|
||||
let lexer = Lexer::new(input.clone());
|
||||
let mut parser = ParserRunner::new(cfg);
|
||||
match parser.parse(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue