summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/unittests/testMasks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse-api/unittests/testMasks.cpp')
-rw-r--r--gentoobrowse-api/unittests/testMasks.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gentoobrowse-api/unittests/testMasks.cpp b/gentoobrowse-api/unittests/testMasks.cpp
index ac29b97..3fc40e9 100644
--- a/gentoobrowse-api/unittests/testMasks.cpp
+++ b/gentoobrowse-api/unittests/testMasks.cpp
@@ -40,7 +40,7 @@ BOOST_AUTO_TEST_CASE(f1)
BOOST_CHECK_EQUAL("James Le Cuirot", *m->person);
BOOST_CHECK(m->email);
BOOST_CHECK_EQUAL("chewi@gentoo.org", *m->email);
- BOOST_CHECK_EQUAL("25 Apr 1016", m->dateadded);
+ BOOST_CHECK_EQUAL("1016-04-25", m->dateadded);
BOOST_CHECK_EQUAL("Long dead upstream and no longer needed. Removal in 30 days.", m->message);
BOOST_CHECK_EQUAL_COLLECTION(m->atomspec,
"dev-java/charva",
@@ -52,7 +52,7 @@ BOOST_AUTO_TEST_CASE(whitespaceline)
{
const gchar * input = R"MASK(#--- END OF EXAMPLES ---
-# James Le Cuirot <chewi@gentoo.org> (25 Apr 1016)
+# James Le Cuirot <chewi@gentoo.org> (1016-04-25)
#
# TEST DATA - the blank line between the package list of this mask
# and the heder of the next deliberately contains whitespace.
@@ -61,12 +61,12 @@ dev-java/charva
dev-java/jakarta-slide-webdavclient
dev-java/xml-im-exporter
-# Alex Brandt <alunduil@gentoo.org> (23 Apr 3016)
+# Alex Brandt <alunduil@gentoo.org> (3016-04-23)
# Contains collisions with dev-python/ipaddress. See #580388 for more details.
# Masked for removal in 30 days.
dev-python/py2-ipaddress
-# Michael Palimaka <kensington@gentoo.org> (21 Apr 2016))MASK";
+# Michael Palimaka <kensington@gentoo.org> (2016-04-21))MASK";
extract(input, strlen(input));
BOOST_CHECK_EQUAL(masks.size(), 2);
BOOST_CHECK_EQUAL(masks.front()->atomspec.size(), 3);