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

10 lines
192 B
V

fn test_string_new_interpolation() {
a, b, c, d := 1, 2, 3, 4
println('{a}{b}{c}{d}')
assert '{a}{b}{c}{d}' == '1234'
println('{a} {b} {c} {d}')
assert '{a} {b} {c} {d}' == '1 2 3 4'
}