mirror of
https://github.com/vlang/v.git
synced 2025-08-03 17:57:59 -04:00
10 lines
229 B
V
10 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'
|
|
}
|