Skip to content

Commit

Permalink
Update tests according to previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriangalliat committed Aug 24, 2014
1 parent 60ea382 commit b532e59
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/annotations/prop.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,30 @@ describe('#prop', function () {
it('should parse the prop annotation', function () {
assert.deepEqual(prop.parse('base'), {
type : 'Map',
path : 'base'
name : 'base'
});

assert.deepEqual(prop.parse('{Function} base.default'), {
type : 'Function',
path : 'base.default'
name : 'base.default'
});

assert.deepEqual(prop.parse('{Function} base.default - description'), {
type : 'Function',
path : 'base.default',
name : 'base.default',
description : 'description'
});

assert.deepEqual(prop.parse('{Function} base.default (default) - description'), {
type : 'Function',
path : 'base.default',
name : 'base.default',
default : 'default',
description : 'description'
});

assert.deepEqual(prop.parse('{Function} base.default (default) - description (with parens)'), {
type : 'Function',
path : 'base.default',
name : 'base.default',
default : 'default',
description : 'description (with parens)'
});
Expand Down

0 comments on commit b532e59

Please sign in to comment.