This commit is contained in:
oitsjustjose 2017-02-25 03:50:31 -05:00
commit 4e066bffc9
10017 changed files with 1322084 additions and 0 deletions

View file

@ -0,0 +1,23 @@
[
{
"description": "pattern validation",
"schema": {"pattern": "^a*$"},
"tests": [
{
"description": "a matching pattern is valid",
"data": "aaa",
"valid": true
},
{
"description": "a non-matching pattern is invalid",
"data": "abc",
"valid": false
},
{
"description": "ignores non-strings",
"data": true,
"valid": true
}
]
}
]