aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-10-28 17:06:06 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-10-29 11:13:25 +0300
commit33974f1acdd16827342b31cba6b27db5030e733f (patch)
tree9e592b6c32a3149b6cbb4804aeb52f85530a7970 /tests
parentae93f783189aa5d10fa4399fffcdc8eee3897c04 (diff)
Enable footnotes for cmark-gfm parser
Also bump version constraints to 0.29.0-a.3 for libcmark-gfm* dependencies.
Diffstat (limited to 'tests')
-rw-r--r--tests/load/1/math/libfoo-1.2.4+1.tar.gzbin1033 -> 1061 bytes
-rw-r--r--tests/load/1/math/packages.manifest5
-rw-r--r--tests/load/driver.cxx8
3 files changed, 8 insertions, 5 deletions
diff --git a/tests/load/1/math/libfoo-1.2.4+1.tar.gz b/tests/load/1/math/libfoo-1.2.4+1.tar.gz
index 80a6271..c678acf 100644
--- a/tests/load/1/math/libfoo-1.2.4+1.tar.gz
+++ b/tests/load/1/math/libfoo-1.2.4+1.tar.gz
Binary files differ
diff --git a/tests/load/1/math/packages.manifest b/tests/load/1/math/packages.manifest
index 7ed9a7d..3c2064b 100644
--- a/tests/load/1/math/packages.manifest
+++ b/tests/load/1/math/packages.manifest
@@ -53,9 +53,10 @@ A modern C++ library with easy to use linear algebra and lot of optimization
tools.
There are over 100 functions in total with an extensive test suite. The API is
-similar to ~~mathlab~~ **MATLAB**.
+similar to ~~mathlab~~ **MATLAB**.[^mathlab]
Useful for conversion of research code into production environments.
+[^mathlab]: MATLAB Capabilities: TODO
\
description-type: text/markdown
changes: \
@@ -84,7 +85,7 @@ tests: * libfoo-tests == 1.2.4
examples: libfoo-examples
benchmarks: libfoo-benchmarks > 0.0.1
location: libfoo-1.2.4+1.tar.gz
-sha256sum: 6692a487e0908598e36bdeb9c25ed1e4a35bb99587dbc475807d314fa0719ac6
+sha256sum: f99cb46b97d0e1dccbdd10571f1f649ac5bbb22d6c25adadbc579ffbbb89d31c
:
name: libfoo-benchmarks
version: 1.2.4
diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx
index af21616..51627b7 100644
--- a/tests/load/driver.cxx
+++ b/tests/load/driver.cxx
@@ -725,12 +725,14 @@ test_pkg_repos (const cstrings& loader_args,
assert (fpv5->topics ==
labels ({"math library", "math API", "libbaz fork"}));
assert (fpv5->keywords == labels ({"c++", "foo", "math", "best"}));
+
assert (*fpv5->description ==
"A modern C++ library with easy to use linear algebra and lot "
"of optimization\ntools.\n\nThere are over 100 functions in "
"total with an extensive test suite. The API is\nsimilar to "
- "~~mathlab~~ **MATLAB**.\n\nUseful for conversion of research "
- "code into production environments.");
+ "~~mathlab~~ **MATLAB**.[^mathlab]\n\nUseful for conversion of "
+ "research code into production environments.\n"
+ "[^mathlab]: MATLAB Capabilities: TODO");
assert (fpv5->url && fpv5->url->string () == "http://www.example.com/foo/");
@@ -830,7 +832,7 @@ test_pkg_repos (const cstrings& loader_args,
assert (check_location (fpv5));
assert (fpv5->sha256sum && *fpv5->sha256sum ==
- "6692a487e0908598e36bdeb9c25ed1e4a35bb99587dbc475807d314fa0719ac6");
+ "f99cb46b97d0e1dccbdd10571f1f649ac5bbb22d6c25adadbc579ffbbb89d31c");
assert (fpv5->buildable);