diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2017-08-14 15:29:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-14 15:29:51 -0700 |
commit | 08b1a1f73cec48481ec3e477e8c247e7aa534df5 (patch) | |
tree | 7d9b6428b2661baf08c8e50bbd9fa2eac6b54816 /googletest/samples | |
parent | 3f3a3ada2022a8b4255b408ef5d2ab439e987c08 (diff) | |
parent | e0fc65c5fbfe4e50a0369d032e9b2811b4b7db77 (diff) | |
download | googletest-08b1a1f73cec48481ec3e477e8c247e7aa534df5.tar.gz googletest-08b1a1f73cec48481ec3e477e8c247e7aa534df5.tar.bz2 googletest-08b1a1f73cec48481ec3e477e8c247e7aa534df5.zip |
Merge branch 'master' into master
Diffstat (limited to 'googletest/samples')
-rw-r--r-- | googletest/samples/sample1.cc | 2 | ||||
-rw-r--r-- | googletest/samples/sample3_unittest.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/googletest/samples/sample1.cc b/googletest/samples/sample1.cc index f171e260..7c08b28f 100644 --- a/googletest/samples/sample1.cc +++ b/googletest/samples/sample1.cc @@ -55,7 +55,7 @@ bool IsPrime(int n) { // Try to divide n by every odd number i, starting from 3 for (int i = 3; ; i += 2) { - // We only have to try i up to the squre root of n + // We only have to try i up to the square root of n if (i > n/i) break; // Now, we have i <= n/i < n. diff --git a/googletest/samples/sample3_unittest.cc b/googletest/samples/sample3_unittest.cc index 284bb476..7f51fd89 100644 --- a/googletest/samples/sample3_unittest.cc +++ b/googletest/samples/sample3_unittest.cc @@ -72,7 +72,7 @@ class QueueTestSmpl3 : public testing::Test { // accessed from sub-classes. // virtual void SetUp() will be called before each test is run. You - // should define it if you need to initialize the varaibles. + // should define it if you need to initialize the variables. // Otherwise, this can be skipped. virtual void SetUp() { q1_.Enqueue(1); |