diff --git a/string.hpp b/string.hpp index 0a7a67fa..e3585408 100644 --- a/string.hpp +++ b/string.hpp @@ -302,7 +302,7 @@ namespace cruft { } -namespace cruft::string::compare { +namespace cruft::string::equality { /////////////////////////////////////////////////////////////////////////// /// A case comparator that tests equality on a string after a /// per-character transform is applied. diff --git a/test/string.cpp b/test/string.cpp index 96fefd68..db00c9cf 100644 --- a/test/string.cpp +++ b/test/string.cpp @@ -206,10 +206,10 @@ void test_comparator_lower (cruft::TAP::logger &tap) { "A", "aa", false, "mixed case, different lengths" }, }; - cruft::string::compare::lower cmp; + cruft::string::equality::lower cmp; for (auto const &t: TESTS) { - tap.expect_eq (cmp (t.a, t.b), t.equal, "compare::lower, pointers, {}", t.message); + tap.expect_eq (cmp (t.a, t.b), t.equal, "equality::lower, pointers, {}", t.message); } }