mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Changes in harness to emit expected and actual
to figure out baseline error thats reported only on travis run tests
This commit is contained in:
@@ -1650,7 +1650,7 @@ module Harness {
|
||||
let encoded_actual = Utils.encodeString(actual);
|
||||
if (expected != encoded_actual) {
|
||||
// Overwrite & issue error
|
||||
let errMsg = "The baseline file " + relativeFileName + " has changed";
|
||||
let errMsg = "The baseline file " + relativeFileName + " has changed.\nExpected:\n" + expected + "\nActual:\n" + encoded_actual;
|
||||
throw new Error(errMsg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user