Remove unnecessary raw stirngs.

This commit is contained in:
Stephen Chung
2021-06-05 15:26:43 +08:00
parent 3371eed411
commit a530fbf4ff
8 changed files with 85 additions and 83 deletions

View File

@@ -79,11 +79,11 @@ fn test_call_fn_args() -> Result<(), Box<EvalAltResult>> {
let mut scope = Scope::new();
let ast = engine.compile(
r#"
"
fn hello(x, y, z) {
if x { `hello ${y}` } else { y + z }
}
"#,
",
)?;
let result: String = engine.call_fn(&mut scope, &ast, "hello", options)?;