Explorar el Código

Test fixed.

main
offa hace 7 años
padre
commit
5e631ae734
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      test/ScopeSuccessTest.cpp

+ 2
- 1
test/ScopeSuccessTest.cpp Ver fichero

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

Cargando…
Cancelar
Guardar