Skip to content

Commit

Permalink
fix: expected reversed with actual (#2460)
Browse files Browse the repository at this point in the history
  • Loading branch information
poyoho authored 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
Original file line number Diff line number Diff line change
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.