aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-09 21:40:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-10 17:25:59 +0200
commit0242fa276ae889d05f713aec4a6f09372f996a1d (patch)
tree989e29dae1c814c5f98eaa5c89f5080819a13949 /tests
parentae301626ddd8288bd58d67dfb7b2a660740001b0 (diff)
Support comment in the repository email manifest value
Diffstat (limited to 'tests')
-rw-r--r--tests/load/1/stable/repositories2
-rw-r--r--tests/load/driver.cxx3
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/load/1/stable/repositories b/tests/load/1/stable/repositories
index b692ebe..815a1b5 100644
--- a/tests/load/1/stable/repositories
+++ b/tests/load/1/stable/repositories
@@ -9,6 +9,6 @@ location: ../math
:
# Local repository manifest (this repository).
#
-email: repoman@cppget.org
+email: repoman@cppget.org; public mailing list
summary: General C++ package stable repository
description: This is the awesome C++ package repository full of exciting stuff.
diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx
index 539c50d..41e4623 100644
--- a/tests/load/driver.cxx
+++ b/tests/load/driver.cxx
@@ -107,7 +107,8 @@ main (int argc, char* argv[])
assert (sr->display_name == "stable");
assert (sr->priority == 1);
assert (!sr->url);
- assert (sr->email && *sr->email == "repoman@cppget.org");
+ assert (sr->email && *sr->email == "repoman@cppget.org" &&
+ sr->email->comment == "public mailing list");
assert (sr->summary &&
*sr->summary == "General C++ package stable repository");
assert (sr->description && *sr->description ==