react to changes after rebase

This commit is contained in:
Mohamed Hegazy 2014-07-29 12:35:26 -07:00
parent 7faad38c84
commit 648af3801a
2 changed files with 2 additions and 2 deletions

View file

@ -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),

View file

@ -18,4 +18,4 @@
//// }
goTo.position(0);
verify.numberOfErrorsInCurrentFile(3);
verify.numberOfErrorsInCurrentFile(2);