This commit is contained in:
Stephen Chung
2020-10-26 21:49:49 +08:00
parent 7496c77ac9
commit 54d68c1061
2 changed files with 5 additions and 7 deletions

View File

@@ -52,9 +52,6 @@ fn test_custom_syntax() -> Result<(), Box<EvalAltResult>> {
},
)?;
// 'while' is now a custom keyword so this it can no longer be a variable
engine.consume("let while = 0").expect_err("should error");
assert_eq!(
engine.eval::<INT>(
r"