From 4d0c00d19f8620d3775045042cc32fd148035394 Mon Sep 17 00:00:00 2001 From: Matteo Renoldi Date: Tue, 2 Apr 2024 19:23:40 +0200 Subject: [PATCH] fix: remove typo from SalaryCalculatorTest.java (#2766) [no important files changed] --- .../src/test/java/SalaryCalculatorTest.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/exercises/concept/salary-calculator/src/test/java/SalaryCalculatorTest.java b/exercises/concept/salary-calculator/src/test/java/SalaryCalculatorTest.java index 20a2263d9..efe3a4c34 100644 --- a/exercises/concept/salary-calculator/src/test/java/SalaryCalculatorTest.java +++ b/exercises/concept/salary-calculator/src/test/java/SalaryCalculatorTest.java @@ -5,9 +5,8 @@ import static org.assertj.core.api.Assertions.*; - public class SalaryCalculatorTest { - + public SalaryCalculator calculator; @BeforeEach @@ -18,7 +17,7 @@ public void setUp() { @Test @Tag("task:1") @DisplayName("The salaryMultiplier method returns 1.0 when daysSkipped is below the threshold") - public void msalaryMultiplierWhenDaysSkippedIs4() { + public void salaryMultiplierWhenDaysSkippedIs4() { assertThat(calculator.salaryMultiplier(4)).isEqualTo(1.0); } @@ -77,7 +76,7 @@ public void regularSalary() { public void skippedAboveThreshold() { assertThat(calculator.finalSalary(7, 0)).isEqualTo(850.0); } - + @Test @Tag("task:3") @DisplayName("The finalSalary method returns the correct result when daysSkipped and productsSold below threshold") @@ -91,5 +90,5 @@ public void skippedBelowThresholdAndSoldBelowThreshold() { public void salaryRespectMaximum() { assertThat(calculator.finalSalary(0, 77)).isEqualTo(2000.0); } - + }