toml
toml copied to clipboard
`toml_edit` error regression compared to `toml`: redefinition of table
@@ -606,7 +1157,14 @@ fn bad_table_redefine() {
foo=\"bar\"
[a]
",
- "redefinition of table `a` for key `a` at line 6 column 9"
+ "\
+TOML parse error at line 6, column 9
+ |
+6 | [a]
+ | ^
+invalid table header
+duplicate key `a` in document root
+"