toml
toml copied to clipboard
`toml_edit` error regression compared to `toml`: unterminated string
+ bad!(
+ "foo = \"\\",
+ "\
+TOML parse error at line 1, column 8
+ |
+1 | foo = \"\\
+ | ^
+invalid basic string
+"
+ );
+ bad!(
+ "foo = '",
+ "\
+TOML parse error at line 1, column 8
+ |
+1 | foo = '
+ | ^
+invalid literal string
+"
);
- bad!("foo = \"\\", "unterminated string at line 1 column 7");
- bad!("foo = '", "unterminated string at line 1 column 7");
}