Do not unnecessarily use raw strings.

This commit is contained in:
Stephen Chung
2021-04-20 12:01:35 +08:00
parent a186eb8d97
commit 0f66c67f82
29 changed files with 100 additions and 103 deletions

View File

@@ -38,7 +38,7 @@ fn test_bool_op_short_circuit() -> Result<(), Box<EvalAltResult>> {
assert_eq!(
engine.eval::<bool>(
r"
"
let x = true;
x || { throw; };
"
@@ -48,7 +48,7 @@ fn test_bool_op_short_circuit() -> Result<(), Box<EvalAltResult>> {
assert_eq!(
engine.eval::<bool>(
r"
"
let x = false;
x && { throw; };
"
@@ -65,7 +65,7 @@ fn test_bool_op_no_short_circuit1() {
assert!(engine
.eval::<bool>(
r"
"
let x = true;
x | { throw; }
"
@@ -79,7 +79,7 @@ fn test_bool_op_no_short_circuit2() {
assert!(engine
.eval::<bool>(
r"
"
let x = false;
x & { throw; }
"