未验证 提交 85c61bff 编写于 作者: C Chris Knight 提交者: GitHub

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

上级 5bf1e4de
......@@ -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")
)}`,
"",
"",
];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册