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

gen: scape string function in gen/str.v (#6452)

This commit is contained in:
Marcin
2020-09-24 18:18:10 +02:00
committed by GitHub
parent be2ac0ba89
commit 60fbcc37fc
2 changed files with 97 additions and 5 deletions

View File

@ -619,7 +619,7 @@ fn test_for_loop_two() {
fn test_quote() {
a := `'`
println("testing double quotes")
println("testing double quotes \"")
b := "hi"
assert b == 'hi'
assert a.str() == '\''