Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: expected reversed with actual (#2460)
  • Loading branch information
poyoho committed Dec 8, 2022
1 parent 81ba052 commit f02c982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/client/components/views/ViewReport.vue
Expand Up @@ -103,7 +103,7 @@ function isDiffShowable(result?: Task['result']): result is ResultWithDiff {
}
function diff(result: ResultWithDiff): string {
return unifiedDiff(result.error.expected, result.error.actual, {
return unifiedDiff(result.error.actual, result.error.expected, {
outputTruncateLength: 80,
})
}
Expand Down

0 comments on commit f02c982

Please sign in to comment.