Skip to content

Commit 4f92f5c

Browse files
quanliu1991RobinPicard
authored andcommitted
add \/, \b, \f, \r, \t in STRING test.
Signed-off-by: quanliu <[email protected]>
1 parent 52dc9f6 commit 4f92f5c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/json_schema/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,11 @@ mod tests {
472472
r#""\\n""#,
473473
r#""escaped \" quote""#,
474474
r#""\n""#,
475+
r#""\/""#,
476+
r#""\b""#,
477+
r#""\f""#,
478+
r#""\r""#,
479+
r#""\t""#
475480
],
476481
vec![
477482
"unquotedstring",

0 commit comments

Comments
 (0)