diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-05-22 14:15:44 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-05-22 16:40:04 +0300 |
commit | 7e4c92e29954c14f9c1dd51aff95fff25d3ced32 (patch) | |
tree | 2434a56ce3ebc84bbaca5267b5afecda8a523fba /tests/load/driver.cxx | |
parent | aae2024a1bdce3ffcb9e638d4a949a71ecdef4c0 (diff) |
Add support for package manifest upstream-version value
Diffstat (limited to 'tests/load/driver.cxx')
-rw-r--r-- | tests/load/driver.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx index 27be0da..18c601e 100644 --- a/tests/load/driver.cxx +++ b/tests/load/driver.cxx @@ -792,6 +792,7 @@ test_pkg_repos (const cstrings& loader_args, db.load<package> ( package_id (tenant, package_name ("libexp"), version ("+2-1.2+1")))); + assert (epv->upstream_version && *epv->upstream_version == "1.2.abc.15-x"); assert (epv->project == "mathLab"); assert (epv->summary == "The exponent"); assert (epv->tags == strings ({"mathlab", "c++", "exponent"})); @@ -836,7 +837,7 @@ test_pkg_repos (const cstrings& loader_args, assert (check_location (epv)); assert (epv->sha256sum && *epv->sha256sum == - "4f476dab0cd13d4c7a4676b50180e66a9a10a65f92a3d335b8227a9a8ca58e21"); + "317c8c6f45d9dfdfdef3a823411920cecd51729c7c4f58f9a0b0bbd681c07bd6"); // Verify libpq package version. // |