summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-03-04 15:43:18 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2018-03-04 15:43:18 +0000
commit012206493fe935f602bbd1db424bd80ef1334684 (patch)
treeb9f5820b6bd4ed10dd4205a7cb85226cbd11498b
parentSign-ups (diff)
downloadgentoobrowse-api-012206493fe935f602bbd1db424bd80ef1334684.tar.bz2
gentoobrowse-api-012206493fe935f602bbd1db424bd80ef1334684.tar.xz
gentoobrowse-api-012206493fe935f602bbd1db424bd80ef1334684.zip
Use Boost's GE tests, not > (the change to >= is deliberate)
-rw-r--r--gentoobrowse-api/unittests/testUsers.cpp4
1 files 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 )