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:
@ -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"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user