♻️ download test data from external repository

This commit is contained in:
Niels Lohmann
2020-05-01 14:32:37 +02:00
parent 798dbb5c19
commit dbf1a1f413
1095 changed files with 1201 additions and 6297172 deletions

View File

@@ -33,6 +33,7 @@ SOFTWARE.
using nlohmann::json;
#include <fstream>
#include <test_data.hpp>
TEST_CASE("JSON patch")
{
@@ -1258,8 +1259,8 @@ TEST_CASE("JSON patch")
SECTION("Tests from github.com/json-patch/json-patch-tests")
{
for (auto filename :
{"test/data/json-patch-tests/spec_tests.json",
"test/data/json-patch-tests/tests.json"
{TEST_DATA_DIRECTORY "/json-patch-tests/spec_tests.json",
TEST_DATA_DIRECTORY "/json-patch-tests/tests.json"
})
{
CAPTURE(filename)