mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: escapes quote on literals
This commit is contained in:

committed by
Alexander Medvednikov

parent
949dfc59fd
commit
af60f9ead4
@ -418,3 +418,8 @@ fn test_for_loop_two() {
|
||||
assert c == s[i]
|
||||
}
|
||||
}
|
||||
|
||||
fn test_quote() {
|
||||
a := `'`
|
||||
assert a.str() == '\''
|
||||
}
|
||||
|
Reference in New Issue
Block a user