Skip to content

Commit

Permalink
dropped indicators in favour of indicatorSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
cKlee committed Nov 16, 2017
1 parent 38d2d59 commit 0f69926
Show file tree
Hide file tree
Showing 7 changed files with 111 additions and 951 deletions.
14 changes: 7 additions & 7 deletions invalid/invalidIndicators.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
"description": "indicators are strings and match pattern",
"schema": {
"type": "string",
"pattern": "(^[_a-z0-9][_a-z0-9]{0,1}$)"
"pattern": "(^[12]$)"
},
"tests": [
{
"description": "only three characters allowed",
"data": "12_",
"description": "only one character allowed",
"data": "12",
"valid": false
},
{
"description": "not allowed character at indicator one",
"data": "$",
"description": "not allowed character",
"data": "3",
"valid": false
},
{
"description": "not allowed character at indicator two",
"data": "1|",
"description": "empty",
"data": "",
"valid": false
}
]
Expand Down
Loading

0 comments on commit 0f69926

Please sign in to comment.