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 58dbf17..1d42759 100644
--- a/googletest/samples/sample1.cc
+++ b/googletest/samples/sample1.cc
@@ -41,7 +41,7 @@ int Factorial(int n) {
return result;
}
-// Returns true if n is a prime number.
+// Returns true if and only if n is a prime number.
bool IsPrime(int n) {
// Trivial case 1: small numbers
if (n <= 1) return false;