summaryrefslogtreecommitdiffstats
path: root/googletest/samples
diff options
context:
space:
mode:
authorvpfautz <v.pfautz@gmx.net>2017-02-26 18:15:33 (GMT)
committervpfautz <v.pfautz@gmx.net>2017-02-26 18:15:33 (GMT)
commita2451c74038fa50870186c9c17b3393ead4b5981 (patch)
tree5c9d7a8b10b314d0d95bd561386dcd0b7c82e8ee /googletest/samples
parentaa148eb2b7f70ede0eb10de34b6254826bfb34f4 (diff)
downloadgoogletest-a2451c74038fa50870186c9c17b3393ead4b5981.zip
googletest-a2451c74038fa50870186c9c17b3393ead4b5981.tar.gz
googletest-a2451c74038fa50870186c9c17b3393ead4b5981.tar.bz2
Fixed some typosrefs/pull/1030/head
Diffstat (limited to 'googletest/samples')
-rw-r--r--googletest/samples/sample1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/samples/sample1.cc b/googletest/samples/sample1.cc
index f171e26..7c08b28 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.