소스 검색

Test fixed.

main
offa 7 년 전
부모
커밋
5e631ae734
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      test/ScopeSuccessTest.cpp

+ 2
- 1
test/ScopeSuccessTest.cpp 파일 보기

@@ -110,8 +110,9 @@ TEST_CASE("exit function not called and rethrow on copy exception", "[ScopeSucce
{
REQUIRE_THROWS([] {
const ThrowOnCopyMock noMove;
REQUIRE_CALL(noMove, deleter());
sr::scope_success<decltype(noMove)> guard{noMove};
}());
}());
}

TEST_CASE("exit function is not called if released", "[ScopeSuccess]")

Loading…
취소
저장