mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
add a c/raw string interpolation test
This commit is contained in:
parent
5d5268a53d
commit
0c5854e371
2 changed files with 9 additions and 1 deletions
|
@ -517,3 +517,12 @@ fn test_raw_inter() {
|
|||
assert s.contains('$')
|
||||
}
|
||||
|
||||
fn test_c_r() {
|
||||
// This used to break because of r'' and c''
|
||||
c := 42
|
||||
println('$c')
|
||||
r := 50
|
||||
println('$r')
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue