mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
all: string interpolation fixes
This commit is contained in:
parent
d653716292
commit
cc58d6a919
4 changed files with 10 additions and 10 deletions
|
@ -504,7 +504,7 @@ fn test_struct_print() {
|
|||
}
|
||||
a.b << b
|
||||
a.b << b
|
||||
assert a.str() == '{Test [{1 2}, {1 2}]}'
|
||||
assert a.str() == r'{Test [{1 2}, {1 2}]}'
|
||||
assert b.str() == '{1 2}'
|
||||
assert a.b.str() == '[{1 2}, {1 2}]'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue