Skip to content
Snippets Groups Projects
Commit 7a67885a authored by Alvaro Cabrera's avatar Alvaro Cabrera
Browse files

Basic impl for string-format; fixed generator

parent 25020b77
Branches
Tags
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
}, },
"dependencies": { "dependencies": {
"deref": "^0.2.5", "deref": "^0.2.5",
"faker": "^2.0.1" "faker": "^2.0.1",
"randexp": "^0.4.0"
} }
} }
...@@ -18,6 +18,14 @@ ...@@ -18,6 +18,14 @@
"maxLength": 30 "maxLength": 30
}, },
"valid": true "valid": true
},
{
"description": "should handle pattern",
"schema": {
"type": "string",
"pattern": "\\w+@\\w+\\.\\w+"
},
"valid": true
} }
] ]
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment