Skip to content

Commit

Permalink
Make hierarchy tests 100% self-covering; fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Oct 11, 2015
1 parent ed2e294 commit fefadf4
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 867 deletions.
5 changes: 2 additions & 3 deletions lib/hierarchy.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,8 @@ function inferHierarchy(comments) {

default:
if (!comment.scope) {
parent.errors.push({
message: 'found memberof but no @scope, @static, or @instance tag',
commentLineNumber: memberOfTagLineNumber
comment.errors.push({
message: 'found memberof but no @scope, @static, or @instance tag'
});
continue;
}
Expand Down
7 changes: 0 additions & 7 deletions test/fixture/memberof-missing.input.js

This file was deleted.

15 changes: 0 additions & 15 deletions test/fixture/memberof-missing.output.custom.md

This file was deleted.

96 changes: 0 additions & 96 deletions test/fixture/memberof-missing.output.json

This file was deleted.

15 changes: 0 additions & 15 deletions test/fixture/memberof-missing.output.md

This file was deleted.

236 changes: 0 additions & 236 deletions test/fixture/memberof-missing.output.md.json

This file was deleted.

0 comments on commit fefadf4

Please sign in to comment.