From 012206493fe935f602bbd1db424bd80ef1334684 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 4 Mar 2018 15:43:18 +0000 Subject: Use Boost's GE tests, not > (the change to >= is deliberate) --- gentoobrowse-api/unittests/testUsers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gentoobrowse-api/unittests/testUsers.cpp b/gentoobrowse-api/unittests/testUsers.cpp index a894e95..7eb0ba3 100644 --- a/gentoobrowse-api/unittests/testUsers.cpp +++ b/gentoobrowse-api/unittests/testUsers.cpp @@ -135,9 +135,9 @@ BOOST_AUTO_TEST_CASE( sendmailshot ) BOOST_REQUIRE_EQUAL("testuser", user->username); BOOST_REQUIRE_EQUAL("Test User", user->userrealname); BOOST_REQUIRE_EQUAL("test@user.com", user->useremail); - BOOST_REQUIRE(user->signedup.length() > 19); + BOOST_REQUIRE_GE(user->signedup.length(), 19); BOOST_REQUIRE(user->lastmailshot); - BOOST_REQUIRE(user->lastmailshot->length() > 19); + BOOST_REQUIRE_GE(user->lastmailshot->length(), 19); } BOOST_AUTO_TEST_CASE( getMissing ) -- cgit v1.2.3