Skip to content

Commit

Permalink
Eliminate warning
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Apr 8, 2024
1 parent ece806a commit cab357c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/comparison.scala
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ object Semblance:
case Different(left, right, difference) =>
val whitespace = if right.has('\n') then e"\n" else e" "
val whitespace2 = if left.has('\n') then e"\n" else e" "
e"The result$whitespace${colors.Crimson}($right)${whitespace}did not equal$whitespace${colors.YellowGreen}($left)"
e"The result$whitespace${colors.Crimson}($right)${whitespace}did not equal$whitespace2${colors.YellowGreen}($left)"

case Identical(value) =>
e"The value ${colors.Gray}($value) was expected"
Expand Down

0 comments on commit cab357c

Please sign in to comment.