Skip to content

Commit

Permalink
Added test case for array set
Browse files Browse the repository at this point in the history
  • Loading branch information
xshiki committed Dec 16, 2024
1 parent 384af3a commit 133d544
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
Binary file added ipywidgets_jsonschema/.DS_Store
Binary file not shown.
30 changes: 30 additions & 0 deletions tests/schemas/array-set.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"default": [],
"schema": {
"description": "Bla bla",
"items": {
"default": "foo",
"type": "string"
},
"uniqueItems": true,
"type": "array"
},
"valid": [
[
"foo"
],
[
"1",
"2",
"3"
]
],
"invalid": [
[
"1",
"1",
"3"
]
]
}

0 comments on commit 133d544

Please sign in to comment.