summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@google.com>2023-04-20 19:35:42 (GMT)
committerCopybara-Service <copybara-worker@google.com>2023-04-20 19:36:18 (GMT)
commitd7fb5e1af4a4840f28e442cb5414766d4fb17522 (patch)
tree715e957bc2e182b9008d31f0cfad2cd52722282f
parentd8a5fb7ee6373b9f4429a2beb5c1ef22d9f8b5b3 (diff)
downloadgoogletest-d7fb5e1af4a4840f28e442cb5414766d4fb17522.zip
googletest-d7fb5e1af4a4840f28e442cb5414766d4fb17522.tar.gz
googletest-d7fb5e1af4a4840f28e442cb5414766d4fb17522.tar.bz2
Fix spelling
PiperOrigin-RevId: 525820426 Change-Id: Ib5baa8da4a54ebb17b6ace12240ed03eedb46091
-rw-r--r--googletest/test/googletest-port-test.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/googletest/test/googletest-port-test.cc b/googletest/test/googletest-port-test.cc
index 1ba3f50..94bb8e3 100644
--- a/googletest/test/googletest-port-test.cc
+++ b/googletest/test/googletest-port-test.cc
@@ -979,14 +979,14 @@ TEST(ThreadLocalTest, SingleParamConstructorInitializesToParam) {
EXPECT_EQ(&i, t2.get());
}
-class NoDefaultContructor {
+class NoDefaultConstructor {
public:
- explicit NoDefaultContructor(const char*) {}
- NoDefaultContructor(const NoDefaultContructor&) {}
+ explicit NoDefaultConstructor(const char*) {}
+ NoDefaultConstructor(const NoDefaultConstructor&) {}
};
TEST(ThreadLocalTest, ValueDefaultContructorIsNotRequiredForParamVersion) {
- ThreadLocal<NoDefaultContructor> bar(NoDefaultContructor("foo"));
+ ThreadLocal<NoDefaultConstructor> bar(NoDefaultConstructor("foo"));
bar.pointer();
}