specialchars.js 680 B

123456789101112131415161718
  1. 'use strict';
  2. describe('longnames with special characters', function() {
  3. var docSet = jasmine.getDocSetFromFile('test/fixtures/specialchars.js');
  4. var portNumber = docSet.getByLongname('Socket#\'port#number\'')[0];
  5. var open = docSet.getByLongname('Socket#\'open~a.connection#now\'')[0];
  6. it('should use the correct longname for instance members of "this" whose names contain ' +
  7. 'scope punctuation', function() {
  8. expect(portNumber).toBeDefined();
  9. });
  10. it('should use the correct longname for instance members of the prototype whose names ' +
  11. 'contain scope punctuation', function() {
  12. expect(open).toBeDefined();
  13. });
  14. });