mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
some files just cannot sync on windows: get automated tests to work
fix one automated test knowing the platform limitations of windows Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
d228ec445f
commit
9ed87bf2ad
@ -347,9 +347,10 @@ private slots:
|
||||
QCOMPARE(completeSpy.findItem(fileWithSpaces5)->_status, SyncFileItem::Status::Success);
|
||||
QCOMPARE(completeSpy.findItem(fileWithSpaces6)->_status, SyncFileItem::Status::Success);
|
||||
#ifdef Q_OS_WINDOWS
|
||||
QEXPECT_FAIL("", "", Continue);
|
||||
#endif
|
||||
QCOMPARE(completeSpy.findItem(QStringLiteral(" with spaces "))->_status, SyncFileItem::Status::NormalError);
|
||||
#else
|
||||
QCOMPARE(completeSpy.findItem(QStringLiteral(" with spaces "))->_status, SyncFileItem::Status::Success);
|
||||
#endif
|
||||
}
|
||||
|
||||
void testCreateFileWithTrailingSpaces_remoteDontGetRenamedAutomatically()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user