mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-23 07:07:09 -05:00
Update tests to remove /// if removeComment is true
This commit is contained in:
@@ -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]
|
||||
@@ -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"/>
|
||||
@@ -11,6 +11,5 @@ var y = 1000;
|
||||
|
||||
//// [0.js]
|
||||
//// [1.js]
|
||||
/// <reference path="0.ts" />
|
||||
var x = 10;
|
||||
var y = 1000;
|
||||
|
||||
@@ -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" />
|
||||
@@ -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.
|
||||
@@ -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.
|
||||
@@ -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;
|
||||
@@ -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" />
|
||||
@@ -1,9 +0,0 @@
|
||||
// @comments: false
|
||||
|
||||
// @Filename: file0.ts
|
||||
|
||||
// @Filename: file1.ts
|
||||
|
||||
/// <reference path="file0.ts" />
|
||||
declare var OData: any;
|
||||
/// <reference path="file0.ts" />
|
||||
Reference in New Issue
Block a user