mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
whitespace
This commit is contained in:
parent
087f07dcd5
commit
4822bca6c1
@ -1,15 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
describe('class without a name', function() {
|
||||
var docSet = jasmine.getDocSetFromFile('test/fixtures/classwithoutname.js').doclets
|
||||
.filter(function(doclet) {
|
||||
return doclet.name === '';
|
||||
});
|
||||
var docSet = jasmine.getDocSetFromFile('test/fixtures/classwithoutname.js').doclets
|
||||
.filter(function(doclet) {
|
||||
return doclet.name === '';
|
||||
});
|
||||
|
||||
it('When the doclet for a class has an empty name, it should also have an empty longname', function() {
|
||||
expect(docSet).toBeDefined();
|
||||
expect(docSet.length).toBe(1);
|
||||
expect(docSet[0].description).toBe('Create an instance of MyClass.');
|
||||
expect(docSet[0].longname).toBe('');
|
||||
});
|
||||
it('When the doclet for a class has an empty name, it should also have an empty longname', function() {
|
||||
expect(docSet).toBeDefined();
|
||||
expect(docSet.length).toBe(1);
|
||||
expect(docSet[0].description).toBe('Create an instance of MyClass.');
|
||||
expect(docSet[0].longname).toBe('');
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user