Ver código fonte

Test fixed.

main
offa 7 anos atrás
pai
commit
5e631ae734
1 arquivos alterados com 2 adições e 1 exclusões
  1. +2
    -1
      test/ScopeSuccessTest.cpp

+ 2
- 1
test/ScopeSuccessTest.cpp Ver arquivo

@@ -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]")

Carregando…
Cancelar
Salvar