Fix test formatting.

This commit is contained in:
Stephen Chung
2021-03-27 18:08:34 +08:00
parent 47588f9784
commit ea970631ff
10 changed files with 45 additions and 45 deletions

View File

@@ -27,19 +27,19 @@ fn test_var_is_def() -> Result<(), Box<EvalAltResult>> {
r#"
let x = 42;
is_def_var("x")
"#
"#
)?);
assert!(!engine.eval::<bool>(
r#"
let x = 42;
is_def_var("y")
"#
"#
)?);
assert!(engine.eval::<bool>(
r#"
const x = 42;
is_def_var("x")
"#
"#
)?);
Ok(())