rename test

This commit is contained in:
Mohamed Hegazy 2014-08-06 14:33:06 -07:00
parent 9222711ace
commit 3295cdaa19
6 changed files with 20 additions and 20 deletions

View file

@ -0,0 +1,11 @@
//// [emitBOM.ts]
// JS and d.ts output should have a BOM but not the sourcemap
var x;
//// [emitBOM.js]
var x;
//# sourceMappingURL=emitBOM.js.map
//// [emitBOM.d.ts]
declare var x: any;

View file

@ -0,0 +1,2 @@
//// [emitBOM.js.map]
{"version":3,"file":"emitBOM.js","sourceRoot":"","sources":["emitBOM.ts"],"names":[],"mappings":"AAEA,IAAI,CAAC,CAAC"}

View file

@ -1,19 +1,19 @@
=================================================================== ===================================================================
JsFile: generateBOM.js JsFile: emitBOM.js
mapUrl: generateBOM.js.map mapUrl: emitBOM.js.map
sourceRoot: sourceRoot:
sources: generateBOM.ts sources: emitBOM.ts
=================================================================== ===================================================================
------------------------------------------------------------------- -------------------------------------------------------------------
emittedFile:tests/cases/compiler/generateBOM.js emittedFile:tests/cases/compiler/emitBOM.js
sourceFile:generateBOM.ts sourceFile:emitBOM.ts
------------------------------------------------------------------- -------------------------------------------------------------------
>>>var x; >>>var x;
1 > 1 >
2 >^^^^ 2 >^^^^
3 > ^ 3 > ^
4 > ^ 4 > ^
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 > 1 >
>// JS and d.ts output should have a BOM but not the sourcemap >// JS and d.ts output should have a BOM but not the sourcemap
> >
@ -25,4 +25,4 @@ sourceFile:generateBOM.ts
3 >Emitted(1, 6) Source(3, 6) + SourceIndex(0) 3 >Emitted(1, 6) Source(3, 6) + SourceIndex(0)
4 >Emitted(1, 7) Source(3, 7) + SourceIndex(0) 4 >Emitted(1, 7) Source(3, 7) + SourceIndex(0)
--- ---
>>>//# sourceMappingURL=generateBOM.js.map >>>//# sourceMappingURL=emitBOM.js.map

View file

@ -1,11 +0,0 @@
//// [generateBOM.ts]
// JS and d.ts output should have a BOM but not the sourcemap
var x;
//// [generateBOM.js]
var x;
//# sourceMappingURL=generateBOM.js.map
//// [generateBOM.d.ts]
declare var x: any;

View file

@ -1,2 +0,0 @@
//// [generateBOM.js.map]
{"version":3,"file":"generateBOM.js","sourceRoot":"","sources":["generateBOM.ts"],"names":[],"mappings":"AAEA,IAAI,CAAC,CAAC"}