瀏覽代碼

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…
取消
儲存