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

@@ -72,7 +72,7 @@ b`: 1}; y["a\nb"]
);
assert_eq!(
engine.eval::<INT>(
r"
"
let x = #{a: 1, b: 2, c: 3};
let y = #{b: 42, d: 9};
x.mixin(y);
@@ -83,7 +83,7 @@ b`: 1}; y["a\nb"]
);
assert_eq!(
engine.eval::<INT>(
r"
"
let x = #{a: 1, b: 2, c: 3};
x += #{b: 42, d: 9};
x.len() + x.b
@@ -94,7 +94,7 @@ b`: 1}; y["a\nb"]
assert_eq!(
engine
.eval::<Map>(
r"
"
let x = #{a: 1, b: 2, c: 3};
let y = #{b: 42, d: 9};
x + y