Fix test.
This commit is contained in:
parent
18b23bdd7d
commit
4b087d0e69
@ -109,6 +109,7 @@ impl AST {
|
||||
}
|
||||
|
||||
/// Get a mutable reference to the statements.
|
||||
#[cfg(not(feature = "no_optimize"))]
|
||||
#[inline(always)]
|
||||
pub(crate) fn statements_mut(&mut self) -> &mut Vec<Stmt> {
|
||||
&mut self.0
|
||||
|
@ -72,7 +72,7 @@ fn test_max_operations_functions() -> Result<(), Box<EvalAltResult>> {
|
||||
fn inc(x) { x + 1 }
|
||||
let x = 0;
|
||||
|
||||
while x < 28 {
|
||||
while x < 30 {
|
||||
print(x);
|
||||
x = inc(x);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user