diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-06-15 22:45:31 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-06-17 13:22:25 -0400 |
commit | ad206037e321237bc664227764a5b3fe6243c554 (patch) | |
tree | 70d89e5f1923011c6984ed3091fc68f677c14ddb /docs/markdown/snippets | |
parent | bbcc91c1e5a904639633a5797d635852a0f77971 (diff) | |
download | meson-ad206037e321237bc664227764a5b3fe6243c554.zip meson-ad206037e321237bc664227764a5b3fe6243c554.tar.gz meson-ad206037e321237bc664227764a5b3fe6243c554.tar.bz2 |
tests: update dependency factory tests to check type_name is sane
Since we pass a method: 'foo' to every one of these
config-tool/pkg-config dependencies, we do not ever need to check which
type_name it has; change these to asserts instead.
In the process, we discover a bug! We kept checking for type
'configtool' instead of 'config-tool', so these tests all
short-circuited and checked nothing. Once moved to an assert, the
asserts failed.
Add a new lookup for a known system dependency and make it assert that
too.
Diffstat (limited to 'docs/markdown/snippets')
0 files changed, 0 insertions, 0 deletions