mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
react to changes after rebase
This commit is contained in:
@@ -424,6 +424,7 @@ module FourSlash {
|
||||
this.scenarioActions.push('<CheckErrorList ExpectedNumOfErrors="' + expected + '" />');
|
||||
|
||||
if (actual !== expected) {
|
||||
this.printErrorLog(false, errors);
|
||||
var errorMsg = "Actual number of errors (" + actual + ") does not match expected number (" + expected + ")";
|
||||
Harness.IO.log(errorMsg);
|
||||
throw new Error(errorMsg);
|
||||
@@ -1894,7 +1895,6 @@ module FourSlash {
|
||||
{ unitName: fileName, content: Harness.IO.readFile(fileName) }
|
||||
];
|
||||
harnessCompiler.addInputFiles(filesToAdd);
|
||||
harnessCompiler.compile();
|
||||
|
||||
var emitterIOHost: Harness.Compiler.IEmitterIOHost = {
|
||||
writeFile: (path: string, contents: string, writeByteOrderMark: boolean) => fsOutput.Write(contents),
|
||||
|
||||
@@ -18,4 +18,4 @@
|
||||
//// }
|
||||
|
||||
goTo.position(0);
|
||||
verify.numberOfErrorsInCurrentFile(3);
|
||||
verify.numberOfErrorsInCurrentFile(2);
|
||||
|
||||
Reference in New Issue
Block a user