3
왜 ScalaTest 2.0.M5b로 컴파일되지 않습니까?시퀀스 정렬시 ScalaTest 테스트
overloaded method value should with alternatives: (beWord: NewCollectionsSpec.this.BeWord)NewCollectionsSpec.this.ResultOfBeWordForAnyRef[scala.collection.GenSeq[Int]] <and> (notWord:
NewCollectionsSpec.this.NotWord)NewCollectionsSpec.this.ResultOfNotWordForAnyRef[scala.collection.GenSeq[Int]] <and> (haveWord:
NewCollectionsSpec.this.HaveWord)NewCollectionsSpec.this.ResultOfHaveWordForSeq[Int] <and> (rightMatcher: org.scalatest.matchers.Matcher[scala.collection.GenSeq[Int]])Unit cannot be applied to
(org.scalatest.matchers.Matcher[Seq[Int]])
다음을 컴파일합니다. 'convertToAnyRefShouldWrapper (sorted [Int]) 여야합니다.' –
정말입니까? 이것은 컴파일되지 않습니다. ScalaTest 버전에 따라 다를 수 있습니다. –
뷰 바인딩 된 버그를 수정하는 코드를 업데이트했습니다. 죄송합니다. –