spumko/joi — pull request #366 by Bartvds (2014-06-13 20:16:42+00:00)
Title: Bug Hunt: empty object() + pattern() + unknown(true) fails to error

I wanted to validate an object that is used as a 'map' with keys of a specific format. So I used this pattern but it doesn't error:

````
Joi.object().pattern(/\d/, Joi.number()).unknown(false)
````

Note I'm not sure about the expected error message but the test a never reaches that as we get an `AssertionError: expected null to exists` from the line above.