Skip to content

Commit 07f70a3

Browse files
committed
testing failure
1 parent 6759de8 commit 07f70a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gradle-kotlin-dsl/gradle-kotlin-dsl/src/test/java/com/baeldung/kotlindsl/ReporterUnitTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import static org.mockito.BDDMockito.given;
1414
import static org.mockito.Mockito.mock;
1515

16-
classwrong ReporterTest {
16+
class ReporterTest {
1717

1818
Repository repository = mock(Repository.class);
1919
Sorter sorter = mock(Sorter.class);
@@ -40,8 +40,8 @@ void should_sort_values_returned_by_repository_and_return() {
4040

4141
// then
4242
assertEquals(List.of(
43-
stockPrice(new BigDecimal("1.57"), Instant.parse("2021-05-05T15:00:00Z")),
44-
stockPrice(new BigDecimal("1.89"), Instant.parse("2021-02-03T15:00:00Z")),
43+
stockPrice(new BigDecimal("1.57988"), Instant.parse("2021-05-05T15:00:00Z")),
44+
stockPrice(new BigDecimal("1.0"), Instant.parse("2021-02-03T15:00:00Z")),
4545
stockPrice(new BigDecimal("1.32"), Instant.parse("2021-01-01T15:00:00Z"))),
4646
result
4747
);

0 commit comments

Comments
 (0)