mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
scanner: fix string interpolation in raw strings
This commit is contained in:
@@ -498,3 +498,10 @@ fn test_atoi() {
|
||||
}
|
||||
}
|
||||
|
||||
fn test_raw_inter() {
|
||||
world := 'world'
|
||||
s := r'hello\n$world'
|
||||
assert s == r'hello\n$world'
|
||||
assert s.contains('$')
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user