Skip to content

Commit

Permalink
Merge pull request #6713 from nextcloud/ci/fixWindowsTests
Browse files Browse the repository at this point in the history
some files just cannot sync on windows: get automated tests to work
  • Loading branch information
mgallien authored May 15, 2024
2 parents d228ec4 + 9ed87bf commit a06fe10
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/testlocaldiscovery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a06fe10

Please sign in to comment.