mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-29 18:12:48 +03:00
ab6c6d959d
- Δημιουργία script για παραγωγή documention του κώδικα - Μικρές διορθώσεις
12 lines
No EOL
573 B
JavaScript
12 lines
No EOL
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);
|
|
});
|
|
}); |