Skip to content

Commit 5e90519

Browse files
Zantierrlouf
authored andcommitted
Add extra checks to test case
1 parent 3d9fd18 commit 5e90519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/json_schema/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ mod tests {
596596
(
597597
r#"{"title": "Foo", "enum": [6, 5.3, "potato", true, null, [1,2], {"a":"b"}]}"#,
598598
format!(r#"(6|5\.3|"potato"|true|null|\[{0}1{0},{0}2{0}\]|\{{{0}"a"{0}:{0}"b"{0}\}})"#, WHITESPACE).as_str(),
599-
vec!["6", "5.3", r#""potato""#, "true", "null"], vec!["none", "53"],
599+
vec!["6", "5.3", r#""potato""#, "true", "null", "[1, 2]", r#"{"a": "b" }"#], vec!["none", "53"],
600600
),
601601
// ==========================================================
602602
// UUID

0 commit comments

Comments
 (0)