mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-09 02:30:15 -06:00
Update tests and baselines
This commit is contained in:
parent
d11fc48066
commit
ed5bc319cb
@ -1,19 +0,0 @@
|
||||
//// [tests/cases/compiler/doNotEmitTripleSlashCommentsButPreserveDetachComments1.ts] ////
|
||||
|
||||
//// [file0.ts]
|
||||
|
||||
|
||||
//// [file1.ts]
|
||||
|
||||
//
|
||||
// Copy Right comment
|
||||
//
|
||||
|
||||
/// <reference path="file0.ts" />
|
||||
|
||||
|
||||
//// [file0.js]
|
||||
//// [file1.js]
|
||||
//
|
||||
// Copy Right comment
|
||||
//
|
||||
@ -1,12 +0,0 @@
|
||||
=== tests/cases/compiler/file1.ts ===
|
||||
|
||||
No type information for this code.//
|
||||
No type information for this code.// Copy Right comment
|
||||
No type information for this code.//
|
||||
No type information for this code.
|
||||
No type information for this code./// <reference path="file0.ts" />
|
||||
No type information for this code.
|
||||
No type information for this code.=== tests/cases/compiler/file0.ts ===
|
||||
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
@ -1,12 +0,0 @@
|
||||
=== tests/cases/compiler/file1.ts ===
|
||||
|
||||
No type information for this code.//
|
||||
No type information for this code.// Copy Right comment
|
||||
No type information for this code.//
|
||||
No type information for this code.
|
||||
No type information for this code./// <reference path="file0.ts" />
|
||||
No type information for this code.
|
||||
No type information for this code.=== tests/cases/compiler/file0.ts ===
|
||||
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
@ -1,20 +0,0 @@
|
||||
//// [tests/cases/compiler/doNotEmitTripleSlashCommentsButPreserveDetachComments2.ts] ////
|
||||
|
||||
//// [file0.ts]
|
||||
|
||||
|
||||
//// [file1.ts]
|
||||
|
||||
//
|
||||
// Copy Right comment
|
||||
//
|
||||
|
||||
/// <reference path="file0.ts" />
|
||||
var x = 10;
|
||||
|
||||
//// [file0.js]
|
||||
//// [file1.js]
|
||||
//
|
||||
// Copy Right comment
|
||||
//
|
||||
var x = 10;
|
||||
@ -1,14 +0,0 @@
|
||||
=== tests/cases/compiler/file1.ts ===
|
||||
|
||||
//
|
||||
// Copy Right comment
|
||||
//
|
||||
|
||||
/// <reference path="file0.ts" />
|
||||
var x = 10;
|
||||
>x : Symbol(x, Decl(file1.ts, 6, 3))
|
||||
|
||||
=== tests/cases/compiler/file0.ts ===
|
||||
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
@ -1,15 +0,0 @@
|
||||
=== tests/cases/compiler/file1.ts ===
|
||||
|
||||
//
|
||||
// Copy Right comment
|
||||
//
|
||||
|
||||
/// <reference path="file0.ts" />
|
||||
var x = 10;
|
||||
>x : number
|
||||
>10 : number
|
||||
|
||||
=== tests/cases/compiler/file0.ts ===
|
||||
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
@ -1,15 +0,0 @@
|
||||
//// [tests/cases/compiler/doNotEmitTripleSlashCommentsButPreserveDetachComments3.ts] ////
|
||||
|
||||
//// [file0.ts]
|
||||
|
||||
|
||||
//// [file1.ts]
|
||||
|
||||
//
|
||||
// Copy Right comment
|
||||
//
|
||||
/// <reference path="file0.ts" />
|
||||
|
||||
|
||||
//// [file0.js]
|
||||
//// [file1.js]
|
||||
@ -1,11 +0,0 @@
|
||||
=== tests/cases/compiler/file1.ts ===
|
||||
|
||||
No type information for this code.//
|
||||
No type information for this code.// Copy Right comment
|
||||
No type information for this code.//
|
||||
No type information for this code./// <reference path="file0.ts" />
|
||||
No type information for this code.
|
||||
No type information for this code.=== 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 ===
|
||||
|
||||
No type information for this code.//
|
||||
No type information for this code.// Copy Right comment
|
||||
No type information for this code.//
|
||||
No type information for this code./// <reference path="file0.ts" />
|
||||
No type information for this code.
|
||||
No type information for this code.=== tests/cases/compiler/file0.ts ===
|
||||
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
@ -1,12 +0,0 @@
|
||||
//// [tests/cases/compiler/doNotEmitTripleSlashCommentsEvenInAmbientDeclaration.ts] ////
|
||||
|
||||
//// [file0.ts]
|
||||
|
||||
|
||||
//// [file1.ts]
|
||||
|
||||
/// <reference path="file0.ts" />
|
||||
declare var OData: any;
|
||||
|
||||
//// [file0.js]
|
||||
//// [file1.js]
|
||||
@ -0,0 +1,16 @@
|
||||
//// [tests/cases/compiler/doNotEmitTripleSlashCommentsInTheMiddle.ts] ////
|
||||
|
||||
//// [0.ts]
|
||||
|
||||
|
||||
//// [1.ts]
|
||||
/// <reference path="0.ts" />
|
||||
var x = 10;
|
||||
/// <reference path="0.ts" />
|
||||
var y = 1000;
|
||||
|
||||
//// [0.js]
|
||||
//// [1.js]
|
||||
/// <reference path="0.ts" />
|
||||
var x = 10;
|
||||
var y = 1000;
|
||||
@ -0,0 +1,13 @@
|
||||
=== tests/cases/compiler/1.ts ===
|
||||
/// <reference path="0.ts" />
|
||||
var x = 10;
|
||||
>x : Symbol(x, Decl(1.ts, 1, 3))
|
||||
|
||||
/// <reference path="0.ts" />
|
||||
var y = 1000;
|
||||
>y : Symbol(y, Decl(1.ts, 3, 3))
|
||||
|
||||
=== tests/cases/compiler/0.ts ===
|
||||
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
@ -0,0 +1,15 @@
|
||||
=== tests/cases/compiler/1.ts ===
|
||||
/// <reference path="0.ts" />
|
||||
var x = 10;
|
||||
>x : number
|
||||
>10 : number
|
||||
|
||||
/// <reference path="0.ts" />
|
||||
var y = 1000;
|
||||
>y : number
|
||||
>1000 : number
|
||||
|
||||
=== tests/cases/compiler/0.ts ===
|
||||
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
@ -1,4 +1,4 @@
|
||||
//// [tests/cases/compiler/doNotEmitTripleSlashComments.ts] ////
|
||||
//// [tests/cases/compiler/emitTripleSlashComments.ts] ////
|
||||
|
||||
//// [file0.ts]
|
||||
|
||||
@ -14,4 +14,7 @@ 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;
|
||||
@ -0,0 +1,13 @@
|
||||
//// [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,4 +1,4 @@
|
||||
//// [tests/cases/compiler/doNotEmitTripleSlashCommentsEvenInEmptyFile.ts] ////
|
||||
//// [tests/cases/compiler/emitTripleSlashCommentsEvenInEmptyFile.ts] ////
|
||||
|
||||
//// [file0.ts]
|
||||
|
||||
@ -13,3 +13,6 @@
|
||||
//// [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"/>
|
||||
@ -1,11 +0,0 @@
|
||||
// @comments: false
|
||||
|
||||
// @Filename: file0.ts
|
||||
|
||||
// @Filename: file1.ts
|
||||
|
||||
//
|
||||
// Copy Right comment
|
||||
//
|
||||
|
||||
/// <reference path="file0.ts" />
|
||||
@ -1,12 +0,0 @@
|
||||
// @comments: false
|
||||
|
||||
// @Filename: file0.ts
|
||||
|
||||
// @Filename: file1.ts
|
||||
|
||||
//
|
||||
// Copy Right comment
|
||||
//
|
||||
|
||||
/// <reference path="file0.ts" />
|
||||
var x = 10;
|
||||
@ -1,10 +0,0 @@
|
||||
// @comments: false
|
||||
|
||||
// @Filename: file0.ts
|
||||
|
||||
// @Filename: file1.ts
|
||||
|
||||
//
|
||||
// Copy Right comment
|
||||
//
|
||||
/// <reference path="file0.ts" />
|
||||
@ -0,0 +1,9 @@
|
||||
// @comments: false
|
||||
|
||||
// @Filename: 0.ts
|
||||
|
||||
// @filename: 1.ts
|
||||
/// <reference path="0.ts" />
|
||||
var x = 10;
|
||||
/// <reference path="0.ts" />
|
||||
var y = 1000;
|
||||
Loading…
x
Reference in New Issue
Block a user