aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-10-19 15:28:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-10-28 01:53:51 +0200
commit5b336ac46f60606cdcf77889d624ce15cdd62530 (patch)
tree469c0dd598b072d13b9a27f458c96c8353745638 /tests
parent3e37999a5f9efd4caf44c40985b3e1254660a625 (diff)
Implement package search by terms
Diffstat (limited to 'tests')
-rw-r--r--tests/loader/driver.cxx3
-rw-r--r--tests/loader/internal/1/math/packages1
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