From cab357cb6c4af3dd96c05276398eef90f4fa4824 Mon Sep 17 00:00:00 2001 From: Jon Pretty Date: Mon, 8 Apr 2024 23:23:28 +0200 Subject: [PATCH] Eliminate warning --- src/core/comparison.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/comparison.scala b/src/core/comparison.scala index 117adcc..ec0d484 100644 --- a/src/core/comparison.scala +++ b/src/core/comparison.scala @@ -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"