Ensure no interpolation for normal strings.
@@ -325,6 +325,16 @@ fn test_string_interpolated() -> Result<(), Box<EvalAltResult>> {
"hello 42 worlds!"
);
+ assert_eq!(
+ engine.eval::<String>(
+ r#"
+ let x = 40;
+ "hello ${x+2} worlds!"
+ "#
+ )?,
+ "hello ${x+2} worlds!"
+ );
+
assert_eq!(
engine.eval::<String>(
r"
