mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
vfmt: fix string interpolation formatting with multiple ',",\' and \" .
This commit is contained in:
parent
258be508f4
commit
bd539b6427
9 changed files with 29 additions and 13 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue