summaryrefslogtreecommitdiff
path: root/test/utils/cpp/path_rebase.test.cpp
diff options
context:
space:
mode:
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");