Skip to content

Commit

Permalink
Fix failing assertion of object key count
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Jul 8, 2016
1 parent a78f106 commit 5b95ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/object.spec.ts
Expand Up @@ -71,7 +71,7 @@ test('object', t => {
const validate = compile(schema)

t.test('is structural type', t => {
t.throws(() => assert(schema, { a: 123 }))
t.equal(assert(schema, { a: 123 }), 4)
t.equal(assert(schema, { a: 123, b: 456 }), 6)
t.end()
})
Expand Down

0 comments on commit 5b95ce6

Please sign in to comment.