summaryrefslogtreecommitdiffstats
path: root/googletest/samples/sample1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'googletest/samples/sample1.cc')
-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.