File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
gradle-kotlin-dsl/gradle-kotlin-dsl/src/test/java/com/baeldung/kotlindsl Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 13
13
import static org .mockito .BDDMockito .given ;
14
14
import static org .mockito .Mockito .mock ;
15
15
16
- classwrong ReporterTest {
16
+ class ReporterTest {
17
17
18
18
Repository repository = mock (Repository .class );
19
19
Sorter sorter = mock (Sorter .class );
@@ -40,8 +40,8 @@ void should_sort_values_returned_by_repository_and_return() {
40
40
41
41
// then
42
42
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" )),
45
45
stockPrice (new BigDecimal ("1.32" ), Instant .parse ("2021-01-01T15:00:00Z" ))),
46
46
result
47
47
);
You can’t perform that action at this time.
0 commit comments