33/// <reference path="..\..\..\src\compiler\parser.ts" />
44/// <reference path="..\..\..\src\harness\harness.ts" />
55
6- module ts {
6+ namespace ts {
77 describe ( "JSDocParsing" , ( ) => {
88 describe ( "TypeExpressions" , ( ) => {
99 function parsesCorrectly ( name : string , content : string ) {
@@ -95,10 +95,10 @@ module ts {
9595 it ( name , ( ) => {
9696 const comment = parseIsolatedJSDocComment ( content ) ;
9797 if ( ! comment ) {
98- Debug . fail ( ' Comment failed to parse entirely' ) ;
98+ Debug . fail ( " Comment failed to parse entirely" ) ;
9999 }
100100 if ( comment . diagnostics . length > 0 ) {
101- Debug . fail ( ' Comment has at least one diagnostic: ' + comment . diagnostics [ 0 ] . messageText ) ;
101+ Debug . fail ( " Comment has at least one diagnostic: " + comment . diagnostics [ 0 ] . messageText ) ;
102102 }
103103
104104 Harness . Baseline . runBaseline ( "parseCorrectly" , "JSDocParsing/DocComments.parsesCorrectly." + name + ".json" ,
@@ -118,29 +118,29 @@ module ts {
118118 parsesIncorrectly ( "emptyComment" , "/***/" ) ;
119119 parsesIncorrectly ( "threeAsterisks" , "/*** */" ) ;
120120 parsesIncorrectly ( "asteriskAfterPreamble" , "/** * @type {number} */" ) ;
121- parsesIncorrectly ( "multipleTypes" ,
121+ parsesIncorrectly ( "multipleTypes" ,
122122 `/**
123123 * @type {number}
124124 * @type {string}
125125 */` ) ;
126- parsesIncorrectly ( "multipleReturnTypes" ,
126+ parsesIncorrectly ( "multipleReturnTypes" ,
127127 `/**
128128 * @return {number}
129129 * @return {string}
130130 */` ) ;
131- parsesIncorrectly ( "noTypeParameters" ,
131+ parsesIncorrectly ( "noTypeParameters" ,
132132 `/**
133133 * @template
134134 */` ) ;
135- parsesIncorrectly ( "trailingTypeParameterComma" ,
135+ parsesIncorrectly ( "trailingTypeParameterComma" ,
136136 `/**
137137 * @template T,
138138 */` ) ;
139- parsesIncorrectly ( "paramWithoutName" ,
139+ parsesIncorrectly ( "paramWithoutName" ,
140140 `/**
141141 * @param {number}
142142 */` ) ;
143- parsesIncorrectly ( "paramWithoutTypeOrName" ,
143+ parsesIncorrectly ( "paramWithoutTypeOrName" ,
144144 `/**
145145 * @param
146146 */` ) ;
0 commit comments