mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
toml: use toml.parse_text and toml.parse_file in the tests
This commit is contained in:
parent
5237d1d446
commit
ee6b23c2a7
26 changed files with 70 additions and 75 deletions
|
@ -25,7 +25,7 @@ enabled = true
|
|||
'
|
||||
|
||||
fn test_parse() {
|
||||
toml_doc := toml.parse(toml_text) or { panic(err) }
|
||||
toml_doc := toml.parse_text(toml_text) or { panic(err) }
|
||||
// dump(toml_doc.ast)
|
||||
// assert false
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue