()
| 380 | |
| 381 | #[test] |
| 382 | fn nested_parens_grow_stack() { |
| 383 | let src = format!("{}1{}", "(".repeat(1_000), ")".repeat(1_000)); |
| 384 | let parsed = stacker::grow(32 * 1024, || parse_module(&src)); |
| 385 | assert!(parsed.is_ok()); |
| 386 | } |
| 387 | |
| 388 | #[test] |
| 389 | fn deep_nesting_preserves_surrounding_statements() { |
nothing calls this directly
no test coverage detected