Skip to content

Commit f02c982

Browse files
authoredDec 8, 2022
fix: expected reversed with actual (#2460)
1 parent 81ba052 commit f02c982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/ui/client/components/views/ViewReport.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function isDiffShowable(result?: Task['result']): result is ResultWithDiff {
103103
}
104104
105105
function diff(result: ResultWithDiff): string {
106-
return unifiedDiff(result.error.expected, result.error.actual, {
106+
return unifiedDiff(result.error.actual, result.error.expected, {
107107
outputTruncateLength: 80,
108108
})
109109
}

0 commit comments

Comments
 (0)
Please sign in to comment.