Skip to content

Commit ebb6dae

Browse files
committed
add more unit test for unescape
1 parent 34a69bf commit ebb6dae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/common/io/tests/it/utils.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ fn test_unescape_string() {
4444
vec!["\"\\t\nabc\"", "\"\t\nabc\""],
4545
vec!["'\\t\nabc'", "'\t\nabc'"],
4646
vec!["\\t\\nabc", "\t\nabc"],
47+
vec!["\\\\", r"\"],
48+
vec!["\\\\", "\\"],
4749
];
4850

4951
for c in cases {

0 commit comments

Comments
 (0)