From 7564a3985bb63cb5787f1e55392c1c94064cb219 Mon Sep 17 00:00:00 2001 From: Herve Eruam Date: Tue, 15 Oct 2024 08:48:13 +0200 Subject: [PATCH] Fix linux build. --- .../testplatforminconsistencycheckerworker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/libsyncengine/reconciliation/platform_inconsistency_checker/testplatforminconsistencycheckerworker.cpp b/test/libsyncengine/reconciliation/platform_inconsistency_checker/testplatforminconsistencycheckerworker.cpp index 3f4fdd010..aaeabf2ff 100644 --- a/test/libsyncengine/reconciliation/platform_inconsistency_checker/testplatforminconsistencycheckerworker.cpp +++ b/test/libsyncengine/reconciliation/platform_inconsistency_checker/testplatforminconsistencycheckerworker.cpp @@ -121,7 +121,7 @@ void TestPlatformInconsistencyCheckerWorker::testCheckNameForbiddenChars() { #elif defined(__unix__) && !defined(__APPLE__) forbiddenName = std::string("test"); forbiddenName.append(1, '\0'); - CPPUNIT_ASSERT(PlatformInconsistencyCheckerUtility::instance()->checkNameForbiddenChars(forbiddenName)); + CPPUNIT_ASSERT(PlatformInconsistencyCheckerUtility::instance()->nameHasForbiddenChars(forbiddenName)); #endif }