make the BOM visible in the test output

This commit is contained in:
Mohamed Hegazy
2014-08-06 12:36:39 -07:00
parent 35c1577ff5
commit a4a773a352
2 changed files with 3 additions and 3 deletions

View File

@@ -119,7 +119,7 @@ class CompilerBaselineRunner extends RunnerBase {
});
function getByteOrderMarkText(file: Harness.Compiler.GeneratedFile): string {
return file.writeByteOrderMark ? String.fromCharCode(ts.CharacterCodes.byteOrderMark) : '';
return file.writeByteOrderMark ? "\u00EF\u00BB\u00BF" : "";
}
function getErrorBaseline(toBeCompiled: { unitName: string; content: string }[],

View File

@@ -4,8 +4,8 @@
var x;
//// [generateBOM.js]
var x;
var x;
//# sourceMappingURL=generateBOM.js.map
//// [generateBOM.d.ts]
declare var x: any;
declare var x: any;