Clean up helpers which are always present in ES2020 (#55515)

This commit is contained in:
Jake Bailey
2023-08-28 12:26:22 -07:00
committed by GitHub
parent 5ce34cafad
commit b5b6048bb3
13 changed files with 37 additions and 199 deletions

View File

@@ -190,7 +190,7 @@ describe("unittests:: canWatch::", () => {
let result = "|";
let divider = addDivider ? "|" : undefined;
columns.forEach((header, index) => {
result += " " + ts.padRight(header, maxLengths[index]) + " |";
result += " " + header.padEnd(maxLengths[index]) + " |";
if (addDivider) divider += " " + "-".repeat(maxLengths[index]) + " |";
});
baseline.push(result);