11/// <reference path='fourslash.ts' />
22
33// @Filename : commentsExternalModules_file0.ts
4- /////** Module comment*/
5- ////export module m/*1*/1 {
4+ /////** Namespace comment*/
5+ ////export namespace m/*1*/1 {
66//// /** b's comment*/
77//// export var b: number;
88//// /** foo's comment*/
99//// function foo() {
1010//// return /*2*/b;
1111//// }
1212//// /** m2 comments*/
13- //// export module m2 {
13+ //// export namespace m2 {
1414//// /** class comment;*/
1515//// export class c {
1616//// };
@@ -36,7 +36,7 @@ edit.insert('');
3636
3737goTo . file ( "commentsExternalModules_file0.ts" ) ;
3838goTo . marker ( '1' ) ;
39- verify . quickInfoIs ( "module m1" , "Module comment" ) ;
39+ verify . quickInfoIs ( "namespace m1" , "Namespace comment" ) ;
4040
4141goTo . marker ( '2' ) ;
4242verify . completionListContains ( "b" , "var m1.b: number" , "b's comment" ) ;
@@ -48,12 +48,12 @@ goTo.marker('3q');
4848verify . quickInfoIs ( "function foo(): number" , "foo's comment" ) ;
4949
5050goTo . marker ( '4' ) ;
51- verify . completionListContains ( "m1" , "module m1" , "Module comment" ) ;
51+ verify . completionListContains ( "m1" , "namespace m1" , "Namespace comment" ) ;
5252
5353goTo . marker ( '5' ) ;
5454verify . memberListContains ( "b" , "var m1.b: number" , "b's comment" ) ;
5555verify . memberListContains ( "fooExport" , "function m1.fooExport(): number" , "exported function" ) ;
56- verify . memberListContains ( "m2" , "module m1.m2" ) ;
56+ verify . memberListContains ( "m2" , "namespace m1.m2" ) ;
5757
5858goTo . marker ( '6' ) ;
5959verify . currentSignatureHelpDocCommentIs ( "exported function" ) ;
@@ -75,12 +75,12 @@ goTo.marker('10');
7575verify . completionListContains ( "extMod" , 'import extMod = require("commentsExternalModules_file0")' , "This is on import declaration" ) ;
7676
7777goTo . marker ( '11' ) ;
78- verify . memberListContains ( "m1" , "module extMod.m1" ) ;
78+ verify . memberListContains ( "m1" , "namespace extMod.m1" ) ;
7979
8080goTo . marker ( '12' ) ;
8181verify . memberListContains ( "b" , "var extMod.m1.b: number" , "b's comment" ) ;
8282verify . memberListContains ( "fooExport" , "function extMod.m1.fooExport(): number" , "exported function" ) ;
83- verify . memberListContains ( "m2" , "module extMod.m1.m2" ) ;
83+ verify . memberListContains ( "m2" , "namespace extMod.m1.m2" ) ;
8484
8585goTo . marker ( '13' ) ;
8686verify . currentSignatureHelpDocCommentIs ( "exported function" ) ;
0 commit comments