Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
void ExcludedFiles::addManualExclude(const QByteArray &expr, const QByteArray &basePath)
{
+#if defined(_WIN32)
+ Q_ASSERT(basePath.size() >= 2 && basePath.at(1) == ':');
+#elif
Q_ASSERT(basePath.startsWith('/'));
+#endif
Q_ASSERT(basePath.endsWith('/'));
auto key = basePath;
mkdir(_rootPath + "/a0/b");
mkdir(_rootPath + "/a0/b/c");
touch(file);
- mv(_rootPath + "/a0 ", _rootPath + "/a");
+ mv(_rootPath + "/a0", _rootPath + "/a");
QVERIFY(waitForPathChanged(_rootPath + "/a/b/c/empty.txt"));
}