[PATCH RFC 1/2] t/helper: prepare "test-example-tap.c" for introduction of "lib/"
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Apr 16, 2026, 13:24 UTC
- Message-ID
- <20260416-pks-libgit-in-subdir-v1-1-03afc731df55@pks.im>
- In-Reply-To
- <20260416-pks-libgit-in-subdir-v1-0-03afc731df55@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.54.0.rc2.529.gd9106f7525.dirty