christophsturm
11/20/2024, 12:45 PMorg.opentest4j.AssertionFailedError:
Expected :could not start restaurant after trying 3 times. ports tried: [55621, 55621, 55621]
Actual :could not start restaurant after trying 3 times. ports tried: [55621,55621,55621]
<Click to see difference>
when I use assertEquals from kotlin.test this does not work:
java.lang.AssertionError: Expected <could not start restaurant after trying 3 times. ports tried: [55859, 55859, 55859]>, actual <could not start restaurant after trying 3 times. ports tried: [55859,55859,55859]>.
loke
11/20/2024, 1:27 PMKlitos Kyriacou
11/20/2024, 2:35 PMkotlin.test
? If it's kotlin.test.junit5, I would have expected the results to be identical.
Also, if you're using the code from your recent thread, I'm surprised the actual result is without spaces: arrayListOf(55859,55859,55859).toString() == "[55621, 55621, 55621]"
.christophsturm
11/20/2024, 2:50 PMAnna Kozlova
11/20/2024, 3:26 PMorg.opentest4j.AssertionFailedError
should be supported. Could you please share your test dependencies?christophsturm
11/21/2024, 8:35 AMchristophsturm
11/21/2024, 8:36 AMchristophsturm
11/21/2024, 8:38 AMAnna Kozlova
11/21/2024, 8:42 AMchristophsturm
11/21/2024, 8:42 AMAnna Kozlova
11/21/2024, 8:48 AMKlitos Kyriacou
11/21/2024, 9:42 AMkotlin.test
, not Kotest.Klitos Kyriacou
11/21/2024, 9:47 AMchristophsturm
11/21/2024, 9:49 AMkotlin("test-junit5")
and now it works. which is strange because at some point i had a problem that gradle added that dependency automatically when adding kotlin("test")
(and i did not want that). now that I do it does not do it.