#48 TestContractRunnerTest#testInvalid

닫힘
ranides4 년 전을 오픈 · 1개의 코멘트
ranides 코멘트됨, 4 년 전

net.ranides.assira.junit.TestContractRunnerTest#testInvalid

I have no idea, what asserion error was expected there? but it is not thrown now. maybe rollback and look

net.ranides.assira.junit.TestContractRunnerTest#testInvalid I have no idea, what asserion error was expected there? but it is not thrown now. maybe rollback and look
ranides 코멘트됨, 4 년 전
소유자

explained: exception never was thrown. our NewAssert#assertThrows catches their own AssertionError from #fail.

assertThrows(AssertionError.class, ...) will always succeed.

New version of JUnit 4.13 introduced their own "assertThrows" and it works correclty.

explained: exception never was thrown. our NewAssert#assertThrows catches their own AssertionError from #fail. assertThrows(AssertionError.class, ...) will always succeed. New version of JUnit 4.13 introduced their own "assertThrows" and it works correclty.
ranides 커밋 4 년 전에서 이 이슈 언급
로그인하여 이 대화에 참여
마일스톤 없음
담당자 없음
참여자 1명
로딩중...
취소
저장
아직 콘텐츠가 없습니다.