toml: use toml.parse_text and toml.parse_file in the tests

This commit is contained in:
Delyan Angelov 2022-03-18 23:32:06 +02:00
parent 5237d1d446
commit ee6b23c2a7
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
26 changed files with 70 additions and 75 deletions

View file

@ -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