Skip to content

Commit

Permalink
Fixing test fat-finger. Thanks @myronmarston!
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxworth committed May 31, 2012
1 parent 0e5a803 commit 5da25ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_jsonschema_draft3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def test_types
data['a'] = true
assert(!JSON::Validator.validate(schema,data))

assert(JSON::Validator.validate({'type' => 'objec'}, {'a' => true}))
assert(JSON::Validator.validate({'type' => 'object'}, {'a' => true}))
assert(JSON::Validator.validate({'type' => 'object'}, {}))
assert(!JSON::Validator.validate({'type' => 'object'}, []))
assert(!JSON::Validator.validate({'type' => 'object'}, 3))
Expand Down

0 comments on commit 5da25ac

Please sign in to comment.