summaryrefslogtreecommitdiffstats
path: root/googletest/src/gtest.cc
diff options
context:
space:
mode:
authoryutotnh <57719497+yutotnh@users.noreply.github.com>2022-07-01 09:33:14 (GMT)
committeryutotnh <57719497+yutotnh@users.noreply.github.com>2022-07-01 09:33:14 (GMT)
commit644a4bea02c478f73325b9125a2b6409f3c55420 (patch)
tree1b9630d9935745f760ad5932589657e2303dc714 /googletest/src/gtest.cc
parent6c57d607c7d75df2d87b1e349f9bef054499c1bf (diff)
downloadgoogletest-644a4bea02c478f73325b9125a2b6409f3c55420.zip
googletest-644a4bea02c478f73325b9125a2b6409f3c55420.tar.gz
googletest-644a4bea02c478f73325b9125a2b6409f3c55420.tar.bz2
fix: some typos in sourcerefs/pull/3927/head
Diffstat (limited to 'googletest/src/gtest.cc')
-rw-r--r--googletest/src/gtest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc
index 6f31dd2..6beac08 100644
--- a/googletest/src/gtest.cc
+++ b/googletest/src/gtest.cc
@@ -1008,14 +1008,14 @@ void DefaultPerThreadTestPartResultReporter::ReportTestPartResult(
TestPartResultReporterInterface*
UnitTestImpl::GetGlobalTestPartResultReporter() {
internal::MutexLock lock(&global_test_part_result_reporter_mutex_);
- return global_test_part_result_repoter_;
+ return global_test_part_result_reporter_;
}
// Sets the global test part result reporter.
void UnitTestImpl::SetGlobalTestPartResultReporter(
TestPartResultReporterInterface* reporter) {
internal::MutexLock lock(&global_test_part_result_reporter_mutex_);
- global_test_part_result_repoter_ = reporter;
+ global_test_part_result_reporter_ = reporter;
}
// Returns the test part result reporter for the current thread.
@@ -5516,7 +5516,7 @@ UnitTestImpl::UnitTestImpl(UnitTest* parent)
GTEST_DISABLE_MSC_WARNINGS_PUSH_(4355 /* using this in initializer */)
default_global_test_part_result_reporter_(this),
default_per_thread_test_part_result_reporter_(this),
- GTEST_DISABLE_MSC_WARNINGS_POP_() global_test_part_result_repoter_(
+ GTEST_DISABLE_MSC_WARNINGS_POP_() global_test_part_result_reporter_(
&default_global_test_part_result_reporter_),
per_thread_test_part_result_reporter_(
&default_per_thread_test_part_result_reporter_),