From 0242fa276ae889d05f713aec4a6f09372f996a1d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 9 Feb 2016 21:40:34 +0200 Subject: Support comment in the repository email manifest value --- tests/load/1/stable/repositories | 2 +- tests/load/driver.cxx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') 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 == -- cgit v1.1