Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Expecto/Expect.fs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ let private printVerses (firstName:string) first (secondName:string) second =
if first.Length > 100 || second.Length > 100
|| Seq.exists ((=)'\n') first || Seq.exists ((=)'\n') second
then '\n' else ' '
let first = sprintf "\n%s:%c%s" firstName prefix first
let second = sprintf "\n%s:%c%s" secondName prefix second
let first = $"\n%s{firstName}:%c{prefix}%s{first}"
let second = $"\n%s{secondName}:%c{prefix}%s{second}"
let diffs = allDiffs first second
String.Concat(highlightAllGreen diffs first, highlightAllRed diffs second)

Expand Down