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:
Sheetal Nandi
2015-10-05 12:28:23 -07:00
parent ce652dc7fb
commit 460c5978cd
+1 -1
View File
@@ -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);
}
}