TypeScript/tests/cases/fourslash/commentsMultiModuleSingleFile.ts
2015-04-26 16:12:48 -07:00

35 lines
No EOL
1.1 KiB
TypeScript

/// <reference path='fourslash.ts' />
/////** this is multi declare namespace*/
////namespace mult/*3*/iM {
//// /** class b*/
//// export class b {
//// }
////}
/////** thi is multi namespace 2*/
////namespace mu/*2*/ltiM {
//// /** class c comment*/
//// export class c {
//// }
////}
////
////new /*1*/mu/*4*/ltiM.b();
////new mu/*5*/ltiM.c();
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker('1');
verify.completionListContains("multiM", "namespace multiM", "this is multi declare namespace\nthi is multi namespace 2");
goTo.marker('2');
verify.quickInfoIs("namespace multiM", "this is multi declare namespace\nthi is multi namespace 2");
goTo.marker('3');
verify.quickInfoIs("namespace multiM", "this is multi declare namespace\nthi is multi namespace 2");
goTo.marker('4');
verify.quickInfoIs("namespace multiM", "this is multi declare namespace\nthi is multi namespace 2");
goTo.marker('5');
verify.quickInfoIs("namespace multiM", "this is multi declare namespace\nthi is multi namespace 2");