v/vlib/v/tests/string_escape_backslash_test.v

6 lines
123 B
V

fn test_escaped_backslash_after_string_interpolation() {
test := 'test'
a := "\\\"$test\\\""
assert a == '\\"test\\"'
}