From f4a641589342db35ef7d6f9836f7957a35aba5a8 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Wed, 18 Dec 2024 02:33:45 +0800 Subject: [PATCH] Add cpj_test.h --- test/absolute_test.c | 2 +- test/basename_test.c | 2 +- test/cpj_test.h | 3 +++ test/dirname_test.c | 2 +- test/extension_test.c | 2 +- test/guess_test.c | 2 +- test/intersection_test.c | 2 +- test/is_absolute_test.c | 2 +- test/is_relative_test.c | 2 +- test/join_test.c | 2 +- test/normalize_test.c | 2 +- test/relative_test.c | 2 +- test/root_test.c | 2 +- test/segment_test.c | 2 +- test/windows_test.c | 2 +- 15 files changed, 17 insertions(+), 14 deletions(-) create mode 100644 test/cpj_test.h diff --git a/test/absolute_test.c b/test/absolute_test.c index e18337f..b1b6224 100755 --- a/test/absolute_test.c +++ b/test/absolute_test.c @@ -1,4 +1,4 @@ -#include +#include "cpj_test.h" #include #include #include diff --git a/test/basename_test.c b/test/basename_test.c index 621858d..f1a1717 100755 --- a/test/basename_test.c +++ b/test/basename_test.c @@ -1,4 +1,4 @@ -#include +#include "cpj_test.h" #include #include #include diff --git a/test/cpj_test.h b/test/cpj_test.h new file mode 100644 index 0000000..f9fcb68 --- /dev/null +++ b/test/cpj_test.h @@ -0,0 +1,3 @@ +#pragma once + +#include diff --git a/test/dirname_test.c b/test/dirname_test.c index e105f5b..0b0b49d 100755 --- a/test/dirname_test.c +++ b/test/dirname_test.c @@ -1,4 +1,4 @@ -#include +#include "cpj_test.h" #include #include diff --git a/test/extension_test.c b/test/extension_test.c index ea80039..cc2fe51 100755 --- a/test/extension_test.c +++ b/test/extension_test.c @@ -1,4 +1,4 @@ -#include +#include "cpj_test.h" #include #include #include diff --git a/test/guess_test.c b/test/guess_test.c index 2e820eb..90a8cc3 100644 --- a/test/guess_test.c +++ b/test/guess_test.c @@ -1,4 +1,4 @@ -#include +#include "cpj_test.h" #include int guess_empty_string(void) diff --git a/test/intersection_test.c b/test/intersection_test.c index 209db72..4771d50 100755 --- a/test/intersection_test.c +++ b/test/intersection_test.c @@ -1,4 +1,4 @@ -#include +#include "cpj_test.h" #include int intersection_skipped_end(void) diff --git a/test/is_absolute_test.c b/test/is_absolute_test.c index 557ec72..a90218a 100755 --- a/test/is_absolute_test.c +++ b/test/is_absolute_test.c @@ -1,4 +1,4 @@ -#include +#include "cpj_test.h" #include int is_absolute_relative_windows(void) diff --git a/test/is_relative_test.c b/test/is_relative_test.c index 8b85423..0393a5c 100755 --- a/test/is_relative_test.c +++ b/test/is_relative_test.c @@ -1,4 +1,4 @@ -#include +#include "cpj_test.h" #include int is_relative_relative_windows(void) diff --git a/test/join_test.c b/test/join_test.c index a8ec194..e582ae0 100644 --- a/test/join_test.c +++ b/test/join_test.c @@ -1,4 +1,4 @@ -#include +#include "cpj_test.h" #include #include #include diff --git a/test/normalize_test.c b/test/normalize_test.c index d318368..35784ed 100644 --- a/test/normalize_test.c +++ b/test/normalize_test.c @@ -1,4 +1,4 @@ -#include +#include "cpj_test.h" #include #include #include diff --git a/test/relative_test.c b/test/relative_test.c index 6b23551..fa10fcf 100755 --- a/test/relative_test.c +++ b/test/relative_test.c @@ -1,4 +1,4 @@ -#include +#include "cpj_test.h" #include #include #include diff --git a/test/root_test.c b/test/root_test.c index be27a0e..eb15735 100755 --- a/test/root_test.c +++ b/test/root_test.c @@ -1,4 +1,4 @@ -#include +#include "cpj_test.h" #include #include #include diff --git a/test/segment_test.c b/test/segment_test.c index dbde4f8..cc035c9 100644 --- a/test/segment_test.c +++ b/test/segment_test.c @@ -1,4 +1,4 @@ -#include +#include "cpj_test.h" #include #include #include diff --git a/test/windows_test.c b/test/windows_test.c index bf33d15..1be8646 100755 --- a/test/windows_test.c +++ b/test/windows_test.c @@ -1,4 +1,4 @@ -#include +#include "cpj_test.h" #include #include #include