diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 838cce53..e40b24de 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -162,7 +162,7 @@ foreach(file ${files}) if(JSON_Valgrind) add_test(NAME "${testcase}_valgrind" - COMMAND ${memcheck_command} ${CMAKE_CURRENT_BINARY_DIR}/${testcase} ${DOCTEST_TEST_FILTER} + COMMAND ${memcheck_command} ${CMAKE_CURRENT_BINARY_DIR}/${testcase} ${DOCTEST_TEST_FILTER} --no-skip WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} ) set_tests_properties("${testcase}_valgrind" PROPERTIES LABELS "valgrind") diff --git a/test/src/unit-json_patch.cpp b/test/src/unit-json_patch.cpp index d5a49013..f8aa189d 100644 --- a/test/src/unit-json_patch.cpp +++ b/test/src/unit-json_patch.cpp @@ -1259,8 +1259,9 @@ TEST_CASE("JSON patch") SECTION("Tests from github.com/json-patch/json-patch-tests") { for (auto filename : - {TEST_DATA_DIRECTORY "/json-patch-tests/spec_tests.json", - TEST_DATA_DIRECTORY "/json-patch-tests/tests.json" + { + TEST_DATA_DIRECTORY "/json-patch-tests/spec_tests.json", + TEST_DATA_DIRECTORY "/json-patch-tests/tests.json" }) { CAPTURE(filename)