jsdoc/test/specs/documentation/inlinecomment.js
Jannon 034205baa8 Testing Framework Upgrade Part II
The second half of the first phase of the testing framework upgrade.  This finishes moving the exisintg tests to jasmine and the new test directory structure
2012-05-04 18:52:19 -07:00

12 lines
573 B
JavaScript

describe("inline comments", function() {
var docSet = jasmine.getDocSetFromFile('test/fixtures/inlinecomment.js'),
t = docSet.getByLongname('test'),
t2 = docSet.getByLongname('test2');
it('When there is an inline comment on a line ending with no semicolon, that comment and the next comment are still captured', function() {
//Inline comment on line without semicolon is captured
expect(t.length).toEqual(1);
//Inline comment on line after line without semicolon is captured
expect(t2.length).toEqual(1);
});
});