From 5b336ac46f60606cdcf77889d624ce15cdd62530 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 19 Oct 2015 15:28:19 +0200 Subject: Implement package search by terms --- tests/loader/driver.cxx | 3 ++- tests/loader/internal/1/math/packages | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/loader') diff --git a/tests/loader/driver.cxx b/tests/loader/driver.cxx index 77e39a2..40d9b13 100644 --- a/tests/loader/driver.cxx +++ b/tests/loader/driver.cxx @@ -406,7 +406,8 @@ main (int argc, char* argv[]) // assert (epv->summary == "The exponent"); assert (epv->tags == strings ({"c++", "exponent"})); - assert (!epv->description); + assert (epv->description && *epv->description == + "The exponent math function."); assert (epv->url == "http://www.exp.com"); assert (!epv->package_url); assert (epv->email == email ("users@exp.com")); diff --git a/tests/loader/internal/1/math/packages b/tests/loader/internal/1/math/packages index 3e041a7..98a21d2 100644 --- a/tests/loader/internal/1/math/packages +++ b/tests/loader/internal/1/math/packages @@ -2,6 +2,7 @@ name: libexp version: 1+1.2 summary: The exponent +description: The exponent math function. license: MIT tags: c++, exponent url: http://www.exp.com -- cgit v1.1