Fix various typos throughout the codebase (#13029)

* Fix various typos throughout the codebase

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
luzpaz
2024-03-18 17:54:30 -04:00
committed by GitHub
parent f94c2051c0
commit 5839134e95
17 changed files with 24 additions and 22 deletions

View File

@@ -110,7 +110,7 @@ TEST_F(FeaturePartTest, create)
// the same document, the other feature will get an unique name that will still contain "Shape"
EXPECT_STREQ(_doc->getObjectName(featureNoName), "Shape001");
// There aren't other features with name "Vertex" in _doc, therefor that name will be assigned
// There aren't other features with name "Vertex" in _doc, therefore that name will be assigned
// without modifications
EXPECT_STREQ(_doc->getObjectName(featureNoDoc), "Vertex");
@@ -120,12 +120,12 @@ TEST_F(FeaturePartTest, create)
// Check that the features have been created in the correct document
// The first 3 calls to Feature::create acts on _doc, which is empty, and therefor the number of
// features in that document is the same of the features created with Feature::create
// The first 3 calls to Feature::create acts on _doc, which is empty, and therefore the number
// of features in that document is the same of the features created with Feature::create
EXPECT_EQ(_doc->getObjects().size(), 3);
// The last call to Feature::create acts on otherDoc, which is empty, and therefor that document
// will have only 1 feature
// The last call to Feature::create acts on otherDoc, which is empty, and therefore that
// document will have only 1 feature
EXPECT_EQ(otherDoc->getObjects().size(), 1);
}