Skip to content

Commit

Permalink
style(tests): fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Feb 5, 2024
1 parent 4a35697 commit 76bcd94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ include_directories("${CMAKE_SOURCE_DIR}")
enable_testing()

# Add GoogleTest directory to the project
set(gtest_SOURCE_DIR "${CMAKE_SOURCE_DIR}/third-party/googletest")
add_subdirectory("${gtest_SOURCE_DIR}" "${CMAKE_CURRENT_BINARY_DIR}/googletest")
include_directories("${gtest_SOURCE_DIR}/googletest/include" "${gtest_SOURCE_DIR}")
set(GTEST_SOURCE_DIR "${CMAKE_SOURCE_DIR}/third-party/googletest")
add_subdirectory("${GTEST_SOURCE_DIR}" "${CMAKE_CURRENT_BINARY_DIR}/googletest")
include_directories("${GTEST_SOURCE_DIR}/googletest/include" "${GTEST_SOURCE_DIR}")

#set(INSTALL_GTEST OFF)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

#include <gtest/gtest.h>
#include "src/main.h"
#include <src/main.h>

TEST(MainTestSuite, WriteFileTest) {
EXPECT_EQ(write_file("write_file_test.txt", "test"), 0);
Expand Down

0 comments on commit 76bcd94

Please sign in to comment.