From 8e366e8c98519f41b5c405d745abcebdadf52e36 Mon Sep 17 00:00:00 2001 From: Lucas Hinderberger Date: Wed, 5 Jun 2024 11:00:40 +0200 Subject: [PATCH] Adding test case to reproduce "can not LoadManifestDataAsRawJson" regression --- test/pathspec/manifest.json | 11 +++++++++++ test/pathspec/sub/subtest_including.json | 3 +++ test/pathspec/subtest_included.json | 11 +++++++++++ 3 files changed, 25 insertions(+) create mode 100644 test/pathspec/manifest.json create mode 100644 test/pathspec/sub/subtest_including.json create mode 100644 test/pathspec/subtest_included.json diff --git a/test/pathspec/manifest.json b/test/pathspec/manifest.json new file mode 100644 index 0000000..30c06dd --- /dev/null +++ b/test/pathspec/manifest.json @@ -0,0 +1,11 @@ +{ + "http_server": { + "addr": ":9999", + "dir": "../_res", + "testmode": false + }, + "name": "pathspec (@ notation) tests", + "tests": [ + "@sub/subtest_including.json" + ] +} diff --git a/test/pathspec/sub/subtest_including.json b/test/pathspec/sub/subtest_including.json new file mode 100644 index 0000000..3530058 --- /dev/null +++ b/test/pathspec/sub/subtest_including.json @@ -0,0 +1,3 @@ +[ + "@../subtest_included.json" +] diff --git a/test/pathspec/subtest_included.json b/test/pathspec/subtest_included.json new file mode 100644 index 0000000..1631d49 --- /dev/null +++ b/test/pathspec/subtest_included.json @@ -0,0 +1,11 @@ +{ + "name": "an arbitrary test", + "request": { + "server_url": "http://localhost:9999", + "endpoint": "assets/empty.json", + "method": "GET" + }, + "response": { + "statuscode": 200 + } +}