From daccc052f8afb9b17f7b9cf91e507ac79c74a3ac Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Sun, 7 May 2023 16:49:16 +0800 Subject: [PATCH] fix: display error message correctly --- packages/utils/src/descriptors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/utils/src/descriptors.ts b/packages/utils/src/descriptors.ts index d20f5ea7093c..78e83c05f803 100644 --- a/packages/utils/src/descriptors.ts +++ b/packages/utils/src/descriptors.ts @@ -94,5 +94,5 @@ export function getConcordanceTheme() { } export function diffDescriptors(actual: unknown, expected: unknown, options: DisplayOptions): string { - return concordanceModule.diff(expected, actual, options) + return concordanceModule.diff(actual, expected, options) }