Skip to content
This repository has been archived by the owner on Dec 25, 2018. It is now read-only.

Commit

Permalink
Added another more broad test.
Browse files Browse the repository at this point in the history
  • Loading branch information
electricessence committed May 27, 2016
1 parent eb94236 commit 4da16f8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
11 changes: 11 additions & 0 deletions tests/mocha/System/TypeValidator.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/mocha/System/TypeValidator.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions tests/mocha/System/TypeValidator.ts
Expand Up @@ -24,6 +24,18 @@ describe('.contains(descriptor)', ()=>
{
it('should detect a positive match', ()=>
{
assert.ok(example.contains({
a:Object,
b:String,
c:Number,
d:Boolean,
e: {
f:String,
g:Boolean,
h:Array
}
}));

assert.ok(example.contains({
a:Object,
b:String,
Expand Down

0 comments on commit 4da16f8

Please sign in to comment.