File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ int main(int argc, char *argv[]) {
1212 auto const address = argv[1 ];
1313 auto const port = static_cast <unsigned short >(std::atoi (argv[2 ]));
1414 auto const threads = std::max<int >(1 , std::atoi (argv[3 ]));
15- server a {threads};
16- a .run (address, port);
15+ server server {threads};
16+ server .run (address, port);
1717 char wait;
1818 std::cin >> wait;
1919 return EXIT_SUCCESS;
Original file line number Diff line number Diff line change 1- add_executable (container_test )
2- target_sources (container_test PRIVATE readings.cpp)
1+ add_executable (endpoint_test )
2+ target_sources (endpoint_test PRIVATE readings.cpp)
33find_package (GTest REQUIRED)
44find_package (nlohmann_json REQUIRED)
5- target_link_libraries (container_test PRIVATE GTest::gmock_main nlohmann_json::nlohmann_json rest)
5+ target_link_libraries (endpoint_test PRIVATE GTest::gmock_main nlohmann_json::nlohmann_json rest)
66
7- add_test (container_test container_test )
7+ add_test (endpoint_test endpoint_test )
You can’t perform that action at this time.
0 commit comments