Skip to content

Commit 6d86059

Browse files
committed
move everything test-related into test subfolder
1 parent 6e7ac3d commit 6d86059

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/ystdlib/error_handling/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ cpp_library(
22
NAME error_handling
33
NAMESPACE ystdlib
44
TESTS_SOURCES
5-
test-constants.hpp
6-
test-types.hpp
7-
test-types.cpp
8-
test-ErrorCode.cpp
5+
test/constants.hpp
6+
test/types.hpp
7+
test/types.cpp
8+
test/test_error_code.cpp
99
)

src/ystdlib/error_handling/test-ErrorCode.cpp renamed to src/ystdlib/error_handling/test/test_error_code.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
#include <catch2/catch_test_macros.hpp>
99

10-
#include "test-constants.hpp"
11-
#include "test-types.hpp"
10+
#include "constants.hpp"
11+
#include "types.hpp"
1212

1313
namespace ystdlib::error_handling::test {
1414
TEST_CASE("test_error_code", "[error_handling][ErrorCode]") {

src/ystdlib/error_handling/test-types.cpp renamed to src/ystdlib/error_handling/test/types.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
#include "test-types.hpp"
1+
#include "types.hpp"
22

33
#include <algorithm>
44
#include <string>
55
#include <string_view>
66
#include <system_error>
77

8-
#include "test-constants.hpp"
8+
#include "constants.hpp"
99

1010
using ystdlib::error_handling::test::AlwaysSuccessErrorCategory;
1111
using ystdlib::error_handling::test::AlwaysSuccessErrorCodeEnum;

0 commit comments

Comments
 (0)