Fix baseline file name changes

This commit is contained in:
Andrew Branch 2019-04-24 08:52:07 -07:00
parent 3e30a7c2ad
commit eff3960020
No known key found for this signature in database
GPG Key ID: 22CCA4B120C427D2

View File

@ -1417,7 +1417,7 @@ Actual: ${stringify(fullActual)}`);
}
public baselineCurrentFileBreakpointLocations() {
const baselineFile = this.getBaselineFileName().replace(this.basePath + "/breakpointValidation", "bpSpan");
const baselineFile = this.getBaselineFileName().replace("breakpointValidation", "bpSpan");
Harness.Baseline.runBaseline(baselineFile, this.baselineCurrentFileLocations(pos => this.getBreakpointStatementLocation(pos)!));
}