diff options
| author | Kunda Ki <[email protected]> | 2025-09-03 12:04:13 +0000 |
|---|---|---|
| committer | Kunda Ki <[email protected]> | 2025-09-03 12:04:13 +0000 |
| commit | 479ce3a1641398a8506812300834666614013850 (patch) | |
| tree | e137016cebe538153d07b010f350842d6c3a6f25 /src/tests/viewpropertiestest.cpp | |
| parent | 93dd0db2eeb1fc41013e87e73f7fbd1956f26cd6 (diff) | |
Fix several user-facing and non-user-facing typos
Found via `codespell -S "*.desktop,*.po,*.svg,*.xml,./po" -L aparent,childs,goup,lokal`
Diffstat (limited to 'src/tests/viewpropertiestest.cpp')
| -rw-r--r-- | src/tests/viewpropertiestest.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tests/viewpropertiestest.cpp b/src/tests/viewpropertiestest.cpp index 9252f17ba..1836f0445 100644 --- a/src/tests/viewpropertiestest.cpp +++ b/src/tests/viewpropertiestest.cpp @@ -245,14 +245,14 @@ void ViewPropertiesTest::testExtendedAttributeFull() KFileMetaData::UserMetaData metadata(m_testDir->url().toLocalFile()); if (!metadata.isSupported()) { - QSKIP("need extended attribute/filesystem metadata to be usefull"); + QSKIP("need extended attribute/filesystem metadata to be useful"); } QStorageInfo storageInfo(m_testDir->url().toLocalFile()); auto blockSize = storageInfo.blockSize(); KFileMetaData::UserMetaData::Error result; - // write a close to block size theorical maximum size for attributes in Linux for ext4 + // write a close to block size theoretical maximum size for attributes in Linux for ext4 // and btrfs (4Kib typically) when ReiserFS/XFS allow XATTR_SIZE_MAX (64Kib) result = metadata.setAttribute("data", QString(blockSize - 50, 'a')); if (result != KFileMetaData::UserMetaData::NoSpace) { @@ -294,13 +294,13 @@ void ViewPropertiesTest::testUseAsDefaultViewSettings() }); ViewProperties globalProps(globalPropertiesPath); - // Check that theres no .directory file and metadata is supported + // Check that there's no .directory file and metadata is supported QString dotDirectoryFile = m_testDir->url().toLocalFile() + "/.directory"; QVERIFY(!QFile::exists(dotDirectoryFile)); KFileMetaData::UserMetaData testDirMetadata(m_testDir->url().toLocalFile()); KFileMetaData::UserMetaData globalDirMetadata(globalPropertiesPath.toLocalFile()); if (!testDirMetadata.isSupported()) { - QSKIP("need extended attribute/filesystem metadata to be usefull"); + QSKIP("need extended attribute/filesystem metadata to be useful"); } const auto newDefaultViewMode = DolphinView::Mode::DetailsView; @@ -345,13 +345,13 @@ void ViewPropertiesTest::testUseAsCustomDefaultViewSettings() }); ViewProperties globalProps(globalPropertiesPath); - // Check that theres no .directory file and metadata is supported + // Check that there's no .directory file and metadata is supported QString dotDirectoryFile = m_testDir->url().toLocalFile() + "/.directory"; QVERIFY(!QFile::exists(dotDirectoryFile)); KFileMetaData::UserMetaData testDirMetadata(m_testDir->url().toLocalFile()); KFileMetaData::UserMetaData globalDirMetadata(globalPropertiesPath.toLocalFile()); if (!testDirMetadata.isSupported()) { - QSKIP("need extended attribute/filesystem metadata to be usefull"); + QSKIP("need extended attribute/filesystem metadata to be useful"); } // Equivalent of useAsDefault in ViewPropertiesDialog |
