test: Shrink the maximum depth a bit to avoid stack overflows

This commit is contained in:
Markus Westerlind 2020-05-02 11:16:39 +02:00
parent 0c69e999a5
commit e932f811a6

View File

@ -32,7 +32,7 @@ struct Generator<'grammar> {
depth: u32,
}
const MAX_DEPTH: u32 = 10000;
const MAX_DEPTH: u32 = 7000;
impl<'grammar> Generator<'grammar> {
fn nonterminal(&mut self, nt: NonterminalString) -> Option<ParseTree> {