浏览代码

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

正在加载...
取消
保存