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:
parent
5bf1e4de3b
commit
85c61bff1c
2 changed files with 6 additions and 2 deletions
|
@ -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("");
|
||||
|
|
|
@ -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")
|
||||
)}`,
|
||||
"",
|
||||
"",
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue