Skip to content

Commit 4d0c00d

Browse files
authored
fix: remove typo from SalaryCalculatorTest.java (#2766)
[no important files changed]
1 parent 9a8d93c commit 4d0c00d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

exercises/concept/salary-calculator/src/test/java/SalaryCalculatorTest.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55

66
import static org.assertj.core.api.Assertions.*;
77

8-
98
public class SalaryCalculatorTest {
10-
9+
1110
public SalaryCalculator calculator;
1211

1312
@BeforeEach
@@ -18,7 +17,7 @@ public void setUp() {
1817
@Test
1918
@Tag("task:1")
2019
@DisplayName("The salaryMultiplier method returns 1.0 when daysSkipped is below the threshold")
21-
public void msalaryMultiplierWhenDaysSkippedIs4() {
20+
public void salaryMultiplierWhenDaysSkippedIs4() {
2221
assertThat(calculator.salaryMultiplier(4)).isEqualTo(1.0);
2322
}
2423

@@ -77,7 +76,7 @@ public void regularSalary() {
7776
public void skippedAboveThreshold() {
7877
assertThat(calculator.finalSalary(7, 0)).isEqualTo(850.0);
7978
}
80-
79+
8180
@Test
8281
@Tag("task:3")
8382
@DisplayName("The finalSalary method returns the correct result when daysSkipped and productsSold below threshold")
@@ -91,5 +90,5 @@ public void skippedBelowThresholdAndSoldBelowThreshold() {
9190
public void salaryRespectMaximum() {
9291
assertThat(calculator.finalSalary(0, 77)).isEqualTo(2000.0);
9392
}
94-
93+
9594
}

0 commit comments

Comments
 (0)