diff options
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/test/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/drivers/test/test_example.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/test/CMakeLists.txt b/src/drivers/test/CMakeLists.txt index 52e981fc..f6690c4d 100644 --- a/src/drivers/test/CMakeLists.txt +++ b/src/drivers/test/CMakeLists.txt @@ -1 +1 @@ -idf_component_register(SRC_DIRS "." INCLUDE_DIRS "." REQUIRES cmock drivers) +idf_component_register(SRC_DIRS "." INCLUDE_DIRS "." REQUIRES catch2 cmock drivers) diff --git a/src/drivers/test/test_example.cpp b/src/drivers/test/test_example.cpp index 2a43341a..34de41ed 100644 --- a/src/drivers/test/test_example.cpp +++ b/src/drivers/test/test_example.cpp @@ -1,9 +1,9 @@ -#include "unity.h" +#include "catch2/catch.hpp" TEST_CASE("Example test case", "[cooltag]") { - TEST_ASSERT_EQUAL(0, 0); + REQUIRE ( 1 == 1 ); } TEST_CASE("test that doesn't run", "[cooltag][ignore]") { - TEST_ASSERT_EQUAL(0, 1); + REQUIRE ( 0 == 1 ); } |
