Update tests to remove /// if removeComment is true

This commit is contained in:
Yui T
2015-08-19 16:12:33 -07:00
parent 7950cc7ca3
commit 248d85720c
18 changed files with 14 additions and 67 deletions

View File

@@ -0,0 +1,12 @@
//// [tests/cases/compiler/doNotEmitTripleSlashCommentsInAmbientDeclaration.ts] ////
//// [file0.ts]
//// [file1.ts]
/// <reference path="file0.ts" />
declare var OData: any;
//// [file0.js]
//// [file1.js]

View File

@@ -1,4 +1,4 @@
//// [tests/cases/compiler/emitTripleSlashCommentsEvenInEmptyFile.ts] ////
//// [tests/cases/compiler/doNotEmitTripleSlashCommentsInEmptyFile.ts] ////
//// [file0.ts]
@@ -13,6 +13,3 @@
//// [file0.js]
//// [file2.js]
//// [file1.js]
/// <reference path="file0.ts" />
/// <reference path="file2.ts" />
/// <amd-dependency path="/js/libs/hgn.js!app/templates/home" name="compiler"/>

View File

@@ -11,6 +11,5 @@ var y = 1000;
//// [0.js]
//// [1.js]
/// <reference path="0.ts" />
var x = 10;
var y = 1000;

View File

@@ -1,14 +0,0 @@
//// [tests/cases/compiler/doNotEmitTripleSlashCommentsInTheMiddle2.ts] ////
//// [file0.ts]
//// [file1.ts]
/// <reference path="file0.ts" />
declare var OData: any;
/// <reference path="file0.ts" />
//// [file0.js]
//// [file1.js]
/// <reference path="file0.ts" />

View File

@@ -1,11 +0,0 @@
=== tests/cases/compiler/file1.ts ===
/// <reference path="file0.ts" />
declare var OData: any;
>OData : Symbol(OData, Decl(file1.ts, 2, 11))
/// <reference path="file0.ts" />
=== tests/cases/compiler/file0.ts ===
No type information for this code.
No type information for this code.

View File

@@ -1,11 +0,0 @@
=== tests/cases/compiler/file1.ts ===
/// <reference path="file0.ts" />
declare var OData: any;
>OData : any
/// <reference path="file0.ts" />
=== tests/cases/compiler/file0.ts ===
No type information for this code.
No type information for this code.

View File

@@ -1,4 +1,4 @@
//// [tests/cases/compiler/emitTripleSlashComments.ts] ////
//// [tests/cases/compiler/doNotemitTripleSlashComments.ts] ////
//// [file0.ts]
@@ -14,7 +14,4 @@ var OData: any;
//// [file0.js]
//// [file2.js]
//// [file1.js]
/// <reference path="file0.ts" />
/// <reference path="file2.ts" />
/// <amd-dependency path="/js/libs/hgn.js!app/templates/home" name="compiler"/>
var OData;

View File

@@ -1,13 +0,0 @@
//// [tests/cases/compiler/emitTripleSlashCommentsEvenInAmbientDeclaration.ts] ////
//// [file0.ts]
//// [file1.ts]
/// <reference path="file0.ts" />
declare var OData: any;
//// [file0.js]
//// [file1.js]
/// <reference path="file0.ts" />

View File

@@ -1,9 +0,0 @@
// @comments: false
// @Filename: file0.ts
// @Filename: file1.ts
/// <reference path="file0.ts" />
declare var OData: any;
/// <reference path="file0.ts" />