Skip to content

Commit a4649ef

Browse files
instruments-of-texas: fix
1 parent 2e903f9 commit a4649ef

File tree

1 file changed

+2
-2
lines changed
  • exercises/concept/instruments-of-texas/.meta

1 file changed

+2
-2
lines changed

exercises/concept/instruments-of-texas/.meta/Exemplar.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ public string TestMultiplication(int x, int y)
3030
}
3131
catch (CalculationException cex) when (cex.Operand1 < 0 && cex.Operand2 < 0)
3232
{
33-
return "Multiply failed for negative operands. " + cex.InnerException.Message;
33+
return "Multiply failed for negative operands. " + cex.InnerException!.Message;
3434
}
3535
catch (CalculationException cex)
3636
{
37-
return "Multiply failed for mixed or positive operands. " + cex.InnerException.Message;
37+
return "Multiply failed for mixed or positive operands. " + cex.InnerException!.Message;
3838
}
3939
}
4040

0 commit comments

Comments
 (0)