1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00

fix(std/testing/asserts): change left/right to actual/expected (#4697)

This commit is contained in:
Chris Knight 2020-04-10 15:10:45 +01:00 committed by GitHub
parent 5bf1e4de3b
commit 85c61bff1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -52,7 +52,9 @@ function buildMessage(diffResult: ReadonlyArray<DiffResult<string>>): string[] {
messages.push("");
messages.push("");
messages.push(
` ${gray(bold("[Diff]"))} ${red(bold("Left"))} / ${green(bold("Right"))}`
` ${gray(bold("[Diff]"))} ${red(bold("Actual"))} / ${green(
bold("Expected")
)}`
);
messages.push("");
messages.push("");

View file

@ -251,7 +251,9 @@ test(function testingAssertFailWithWrongErrorClass(): void {
const createHeader = (): string[] => [
"",
"",
` ${gray(bold("[Diff]"))} ${red(bold("Left"))} / ${green(bold("Right"))}`,
` ${gray(bold("[Diff]"))} ${red(bold("Actual"))} / ${green(
bold("Expected")
)}`,
"",
"",
];