[PATCH RFC v4 1/2] t/helper: prepare "test-example-tap.c" for introduction of "lib/"
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Jul 13, 2026, 05:50 UTC
- Message-ID
- <20260713-pks-libgit-in-subdir-v4-1-696240876eb1@pks.im>
- In-Reply-To
- <20260713-pks-libgit-in-subdir-v4-0-696240876eb1@pks.im>
In the next commit we're about to introduce a new "lib/" directory and move all of our files into it. With this split the compiler won't be able to find one of the includes in "test-example-tap.c" anymore. Adjust it to a relative include to prepare for this change.
Signed-off-by: Patrick Steinhardt <ps@pks.im> --- t/helper/test-example-tap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/helper/test-example-tap.c b/t/helper/test-example-tap.c index 998a1f0b42..50d46669d1 100644 --- a/t/helper/test-example-tap.c +++ b/t/helper/test-example-tap.c @@ -1,5 +1,5 @@ #include "test-tool.h" -#include "t/unit-tests/test-lib.h" +#include "../unit-tests/test-lib.h" /* * The purpose of this "unit test" is to verify a few invariants of the unit
-- 2.55.0.313.g8d093f411d.dirty