1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fix "" string interpolation bug

This commit is contained in:
Alexander Medvednikov
2019-12-08 20:06:00 +03:00
parent d58982a6f6
commit 4d1f721558
4 changed files with 173 additions and 156 deletions

View File

@ -565,3 +565,11 @@ fn test_inter_before_comp_if() {
}
}
fn test_double_quote_inter() {
a := 1
b := 2
println("${a} ${b}")
assert "${a} ${b}" == "1 2"
assert '${a} ${b}' == "1 2"
}