From 48d0e6d1978b7b742e4640c61dd1d838df861f66 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 15 Sep 2015 12:08:55 -0700 Subject: [PATCH] Update tests to use "removeComments" instead of "comments" --- tests/cases/compiler/doNotEmitDetachedComments.ts | 2 +- .../compiler/doNotEmitDetachedCommentsAtStartOfConstructor.ts | 2 +- .../compiler/doNotEmitDetachedCommentsAtStartOfFunctionBody.ts | 2 +- .../doNotEmitDetachedCommentsAtStartOfLambdaFunction.ts | 2 +- tests/cases/compiler/doNotEmitPinnedCommentNotOnTopOfFile.ts | 2 +- tests/cases/compiler/doNotEmitPinnedCommentOnNotEmittedNode.ts | 2 +- .../cases/compiler/doNotEmitPinnedCommentOnNotEmittedNodets.ts | 2 +- tests/cases/compiler/doNotEmitPinnedDetachedComments.ts | 2 +- tests/cases/compiler/doNotEmitTripleSlashCommentsInEmptyFile.ts | 2 +- .../compiler/doNotEmitTripleSlashCommentsOnNotEmittedNode.ts | 2 +- tests/cases/compiler/doNotemitTripleSlashComments.ts | 2 +- tests/cases/compiler/emitPinnedCommentsOnTopOfFile.ts | 2 +- ...TripleSlashCommentOnNotEmittedNodeIfRemoveCommentsIsFalse.ts | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/tests/cases/compiler/doNotEmitDetachedComments.ts b/tests/cases/compiler/doNotEmitDetachedComments.ts index 412dbeac19b..13facb6625e 100644 --- a/tests/cases/compiler/doNotEmitDetachedComments.ts +++ b/tests/cases/compiler/doNotEmitDetachedComments.ts @@ -1,4 +1,4 @@ -// @comments: false +// @removeComments: true /* multi line diff --git a/tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfConstructor.ts b/tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfConstructor.ts index 1ea96993a5e..094d624df40 100644 --- a/tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfConstructor.ts +++ b/tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfConstructor.ts @@ -1,4 +1,4 @@ -// @comments: false +// @removeComments: true class A { constructor() { // Single Line Comment diff --git a/tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfFunctionBody.ts b/tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfFunctionBody.ts index 31adbc18de8..83dd8716df2 100644 --- a/tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfFunctionBody.ts +++ b/tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfFunctionBody.ts @@ -1,4 +1,4 @@ -// @comments: false +// @removeComments: true function foo1() { // Single line comment diff --git a/tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfLambdaFunction.ts b/tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfLambdaFunction.ts index c6a9cfc9e25..be6cd7b37ce 100644 --- a/tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfLambdaFunction.ts +++ b/tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfLambdaFunction.ts @@ -1,4 +1,4 @@ -// @comments: false +// @removeComments: true () => { // Single line comment diff --git a/tests/cases/compiler/doNotEmitPinnedCommentNotOnTopOfFile.ts b/tests/cases/compiler/doNotEmitPinnedCommentNotOnTopOfFile.ts index 0fbb1fddd81..bae1654af87 100644 --- a/tests/cases/compiler/doNotEmitPinnedCommentNotOnTopOfFile.ts +++ b/tests/cases/compiler/doNotEmitPinnedCommentNotOnTopOfFile.ts @@ -1,4 +1,4 @@ -// @comments: false +// @removeComments: true var x = 10; /*! diff --git a/tests/cases/compiler/doNotEmitPinnedCommentOnNotEmittedNode.ts b/tests/cases/compiler/doNotEmitPinnedCommentOnNotEmittedNode.ts index 48e02a372f7..23a1000fa11 100644 --- a/tests/cases/compiler/doNotEmitPinnedCommentOnNotEmittedNode.ts +++ b/tests/cases/compiler/doNotEmitPinnedCommentOnNotEmittedNode.ts @@ -1,4 +1,4 @@ -// @comments: false +// @removeComments: true class C { /*! remove pinned comment anywhere else */ diff --git a/tests/cases/compiler/doNotEmitPinnedCommentOnNotEmittedNodets.ts b/tests/cases/compiler/doNotEmitPinnedCommentOnNotEmittedNodets.ts index a59e13df55c..27c5c5f6b7b 100644 --- a/tests/cases/compiler/doNotEmitPinnedCommentOnNotEmittedNodets.ts +++ b/tests/cases/compiler/doNotEmitPinnedCommentOnNotEmittedNodets.ts @@ -1,4 +1,4 @@ -// @comments: false +// @removeComments: true class C { /*! remove pinned comment anywhere else */ diff --git a/tests/cases/compiler/doNotEmitPinnedDetachedComments.ts b/tests/cases/compiler/doNotEmitPinnedDetachedComments.ts index 534963cf4b7..f30dc9299ee 100644 --- a/tests/cases/compiler/doNotEmitPinnedDetachedComments.ts +++ b/tests/cases/compiler/doNotEmitPinnedDetachedComments.ts @@ -1,4 +1,4 @@ -// @comments: false +// @removeComments: true var x = 10; /*! Single Line comment */ diff --git a/tests/cases/compiler/doNotEmitTripleSlashCommentsInEmptyFile.ts b/tests/cases/compiler/doNotEmitTripleSlashCommentsInEmptyFile.ts index 047510e2ec9..357ce67dbed 100644 --- a/tests/cases/compiler/doNotEmitTripleSlashCommentsInEmptyFile.ts +++ b/tests/cases/compiler/doNotEmitTripleSlashCommentsInEmptyFile.ts @@ -1,4 +1,4 @@ -// @comments: false +// @removeComments: true // @Filename: file0.ts diff --git a/tests/cases/compiler/doNotEmitTripleSlashCommentsOnNotEmittedNode.ts b/tests/cases/compiler/doNotEmitTripleSlashCommentsOnNotEmittedNode.ts index 91941a6cf81..bfa5c5ffc67 100644 --- a/tests/cases/compiler/doNotEmitTripleSlashCommentsOnNotEmittedNode.ts +++ b/tests/cases/compiler/doNotEmitTripleSlashCommentsOnNotEmittedNode.ts @@ -1,4 +1,4 @@ -// @comments: false +// @removeComments: true // @Filename: file0.ts /// diff --git a/tests/cases/compiler/doNotemitTripleSlashComments.ts b/tests/cases/compiler/doNotemitTripleSlashComments.ts index f3b90662159..14fdfda2d72 100644 --- a/tests/cases/compiler/doNotemitTripleSlashComments.ts +++ b/tests/cases/compiler/doNotemitTripleSlashComments.ts @@ -1,4 +1,4 @@ -// @comments: false +// @removeComments: true // @Filename: file0.ts /// diff --git a/tests/cases/compiler/emitPinnedCommentsOnTopOfFile.ts b/tests/cases/compiler/emitPinnedCommentsOnTopOfFile.ts index bbe6c400601..985a5f638b8 100644 --- a/tests/cases/compiler/emitPinnedCommentsOnTopOfFile.ts +++ b/tests/cases/compiler/emitPinnedCommentsOnTopOfFile.ts @@ -1,4 +1,4 @@ -// @comments: false +// @removeComments: true /*! multi line diff --git a/tests/cases/compiler/emitTopOfFileTripleSlashCommentOnNotEmittedNodeIfRemoveCommentsIsFalse.ts b/tests/cases/compiler/emitTopOfFileTripleSlashCommentOnNotEmittedNodeIfRemoveCommentsIsFalse.ts index 20c04702544..56f7814104d 100644 --- a/tests/cases/compiler/emitTopOfFileTripleSlashCommentOnNotEmittedNodeIfRemoveCommentsIsFalse.ts +++ b/tests/cases/compiler/emitTopOfFileTripleSlashCommentOnNotEmittedNodeIfRemoveCommentsIsFalse.ts @@ -1,4 +1,4 @@ -// @comments: true +// @removeComments: false // @Filename: file0.ts var x = 10