mirror of
https://github.com/vlang/v.git
synced 2025-09-15 07:22:27 +03:00
9 lines
229 B
V
9 lines
229 B
V
import toml
|
|
|
|
fn test_quoted_string_crlf() {
|
|
toml_txt := 'str1 = """tcc \\\r\nabc \\\r\n123"""'
|
|
toml_doc := toml.parse_text(toml_txt) or { panic(err) }
|
|
|
|
value := toml_doc.value('str1').string()
|
|
assert value == 'tcc abc 123'
|
|
}
|