diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-19 15:28:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-28 01:53:51 +0200 |
commit | 5b336ac46f60606cdcf77889d624ce15cdd62530 (patch) | |
tree | 469c0dd598b072d13b9a27f458c96c8353745638 /tests | |
parent | 3e37999a5f9efd4caf44c40985b3e1254660a625 (diff) |
Implement package search by terms
Diffstat (limited to 'tests')
-rw-r--r-- | tests/loader/driver.cxx | 3 | ||||
-rw-r--r-- | tests/loader/internal/1/math/packages | 1 |
2 files changed, 3 insertions, 1 deletions
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 |