VyacheslavRadyuk / sf-senla-courses

0 stars 0 forks source link

2.7.2 Order can be different #92

Closed NikitaErmakSenla closed 3 years ago

NikitaErmakSenla commented 3 years ago

https://github.com/VyacheslavRadyuk/sf-senla-courses/blob/0bd2c1fa560504775a81879a00056352e125ad52/lecture_2.7/TripManagerTest.cls#L20

NikitaErmakSenla commented 3 years ago

You can't rely on the same order. You can check size() or check if return value contains needed ids

VyacheslavRadyuk commented 3 years ago

done