summaryrefslogtreecommitdiff
path: root/test/utils/cpp/path_rebase.test.cpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-08-27 11:14:38 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-08-27 11:40:40 +0200
commitbc39ecc0385dd7e0cb9e1df84628e4c6dde34ab5 (patch)
tree4556b3f5f5898ef56316fc1612a04402b79903ef /test/utils/cpp/path_rebase.test.cpp
parent340f3478dc2bffe1a75496e5c120e88274fee698 (diff)
downloadjustbuild-bc39ecc0385dd7e0cb9e1df84628e4c6dde34ab5.tar.gz
Reformat code to comply with clang-format 18
... while keeping our .clang-format file.
Diffstat (limited to 'test/utils/cpp/path_rebase.test.cpp')
-rw-r--r--test/utils/cpp/path_rebase.test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/utils/cpp/path_rebase.test.cpp b/test/utils/cpp/path_rebase.test.cpp
index 79a13fb5..fe62e0be 100644
--- a/test/utils/cpp/path_rebase.test.cpp
+++ b/test/utils/cpp/path_rebase.test.cpp
@@ -12,9 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "catch2/catch_test_macros.hpp"
#include "src/utils/cpp/path_rebase.hpp"
+#include "catch2/catch_test_macros.hpp"
+
TEST_CASE("rebase", "[path_rebase]") {
CHECK(RebasePathStringRelativeTo("work", "work/foo/bar") == "foo/bar");
CHECK(RebasePathStringRelativeTo("work", "work/foo") == "foo");