aboutsummaryrefslogtreecommitdiff
path: root/test/common
diff options
context:
space:
mode:
Diffstat (limited to 'test/common')
-rw-r--r--test/common/algorithm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/common/algorithm.h b/test/common/algorithm.h
index 79845b835f..bc10841fae 100644
--- a/test/common/algorithm.h
+++ b/test/common/algorithm.h
@@ -12,11 +12,11 @@ class AlgorithmTestSuite : public CxxTest::TestSuite {
return true;
// Check whether the container is sorted by the given binary predicate, which
- // decides whether the first value passed preceeds the second value passed.
+ // decides whether the first value passed precedes the second value passed.
//
// To do that it checks an item and its follower in the container with the
// given predicate in reverse order, when it returns false everything is
- // fine, when it returns false, the follower preceeds the item and thus
+ // fine, when it returns false, the follower precedes the item and thus
// the order is violated.
for (T prev = first++; first != last; ++prev, ++first) {
if (comp(*first, *prev))