Merge pull request #11350 from Microsoft/fix_lib_tests

Fix tests changed by #11309
This commit is contained in:
Nathan Shively-Sanders 2016-10-17 10:57:27 -07:00 committed by GitHub
commit 8a3e9be49e
2 changed files with 2 additions and 1 deletions

View File

@ -355,6 +355,7 @@ function concatenateFiles(destinationFile, sourceFiles) {
if (!fs.existsSync(sourceFiles[i])) {
fail(sourceFiles[i] + " does not exist!");
}
fs.appendFileSync(temp, "\n\n");
fs.appendFileSync(temp, fs.readFileSync(sourceFiles[i]));
}
// Move the file to the final destination

View File

@ -1,4 +1,4 @@
lib.d.ts(28,18): error TS2300: Duplicate identifier 'eval'.
lib.d.ts(32,18): error TS2300: Duplicate identifier 'eval'.
tests/cases/compiler/variableDeclarationInStrictMode1.ts(2,5): error TS1100: Invalid use of 'eval' in strict mode.
tests/cases/compiler/variableDeclarationInStrictMode1.ts(2,5): error TS2300: Duplicate identifier 'eval'.