Set timeout in REPL

This commit is contained in:
Shunsuke Shibayama 2022-08-17 12:02:56 +09:00
parent 34a25290aa
commit 1e3819b416
3 changed files with 17 additions and 4 deletions

View file

@ -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(