summaryrefslogtreecommitdiffstats
path: root/googletest/src
diff options
context:
space:
mode:
authorJohn Bampton <jbampton@gmail.com>2021-04-15 01:53:53 (GMT)
committerJohn Bampton <jbampton@gmail.com>2021-04-15 01:53:53 (GMT)
commit050b51751840837e9da6dad684c5ae0f87ab1f60 (patch)
tree7fbbe29a644a87921fcedd1cb5a7b60daca9f487 /googletest/src
parent8d664b94bebc86a9d3c6272bb41039310c550e58 (diff)
downloadgoogletest-050b51751840837e9da6dad684c5ae0f87ab1f60.zip
googletest-050b51751840837e9da6dad684c5ae0f87ab1f60.tar.gz
googletest-050b51751840837e9da6dad684c5ae0f87ab1f60.tar.bz2
chore: fix spellingrefs/pull/3364/head
Diffstat (limited to 'googletest/src')
-rw-r--r--googletest/src/gtest-internal-inl.h4
-rw-r--r--googletest/src/gtest.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/googletest/src/gtest-internal-inl.h b/googletest/src/gtest-internal-inl.h
index cff534e..6d8cecb 100644
--- a/googletest/src/gtest-internal-inl.h
+++ b/googletest/src/gtest-internal-inl.h
@@ -1164,13 +1164,13 @@ class StreamingListener : public EmptyTestEventListener {
}
// Note that "event=TestCaseStart" is a wire format and has to remain
- // "case" for compatibilty
+ // "case" for compatibility
void OnTestCaseStart(const TestCase& test_case) override {
SendLn(std::string("event=TestCaseStart&name=") + test_case.name());
}
// Note that "event=TestCaseEnd" is a wire format and has to remain
- // "case" for compatibilty
+ // "case" for compatibility
void OnTestCaseEnd(const TestCase& test_case) override {
SendLn("event=TestCaseEnd&passed=" + FormatBool(test_case.Passed()) +
"&elapsed_time=" + StreamableToString(test_case.elapsed_time()) +
diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc
index d607d53..74a2e20 100644
--- a/googletest/src/gtest.cc
+++ b/googletest/src/gtest.cc
@@ -2241,7 +2241,7 @@ void TestResult::RecordProperty(const std::string& xml_element,
if (!ValidateTestProperty(xml_element, test_property)) {
return;
}
- internal::MutexLock lock(&test_properites_mutex_);
+ internal::MutexLock lock(&test_properties_mutex_);
const std::vector<TestProperty>::iterator property_with_matching_key =
std::find_if(test_properties_.begin(), test_properties_.end(),
internal::TestPropertyKeyIs(test_property.key()));