문제

Recently I have upgraded my specs2 to 2.10-2.3.11 and apparently after that compiler can't recognize matcher must haveTheSameElementsAs. I couldn't find where they moved it or similar matcher in specs2. Any idea where is it/ what I should use instead of that one?

도움이 되었습니까?

해결책

You must use collection must contain(exactly(collection2:_*)).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top