vfmt: fix string interpolation formatting with multiple ',",\' and \" .

This commit is contained in:
Delyan Angelov 2021-04-20 20:18:53 +03:00
parent 258be508f4
commit bd539b6427
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
9 changed files with 29 additions and 13 deletions

View file

@ -792,8 +792,8 @@ fn test_raw_with_quotes() {
fn test_escape() {
a := 10
println('\"$a')
assert '\"$a' == '"10'
println("\"$a")
assert "\"$a" == '"10'
}
fn test_atoi() {