toml icon indicating copy to clipboard operation
toml copied to clipboard

`toml_edit` error regression compared to `toml`: unterminated string

Open epage opened this issue 2 years ago • 0 comments

+    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");
 }

epage avatar Jan 18 '23 03:01 epage