瀏覽代碼

Filenames corrected.

main
offa 7 年之前
父節點
當前提交
d60701bf91
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. +0
    -0
      include/scope_exit.h
  2. +2
    -2
      test/CMakeLists.txt
  3. +1
    -1
      test/ScopeExitTest.cpp

include/scope_guard.h → include/scope_exit.h 查看文件


+ 2
- 2
test/CMakeLists.txt 查看文件

@@ -17,11 +17,11 @@ function(add_test_suite name)
endfunction()


add_test_suite(ScopeGuardTest)
add_test_suite(ScopeExitTest)
add_test_suite(UniqueResourceTest)


add_custom_target(unittest ScopeGuardTest
add_custom_target(unittest ScopeExitTest
COMMAND UniqueResourceTest
COMMENT "Running unittests\n\n"
VERBATIM

test/ScopeGuardTest.cpp → test/ScopeExitTest.cpp 查看文件

@@ -18,7 +18,7 @@
* along with Scope Guard. If not, see <http://www.gnu.org/licenses/>.
*/

#include "scope_guard.h"
#include "scope_exit.h"
#include <catch.hpp>
#include <trompeloeil.hpp>


Loading…
取消
儲存