summaryrefslogtreecommitdiff
path: root/test cases/frameworks/23 hotdoc
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2018-11-13 21:44:25 -0300
committerJussi Pakkanen <jpakkane@gmail.com>2018-11-15 22:50:11 +0200
commit301df388162153873e21a2732a9f735d1dcba022 (patch)
tree655d0077b811f3e1a53e0c49c67c83e3e1c5e725 /test cases/frameworks/23 hotdoc
parent27ff79e026387ebcc657d9c1521b41674ecc2dca (diff)
downloadmeson-301df388162153873e21a2732a9f735d1dcba022.tar.gz
hotdoc: Fix has_extensions when several extensions are passed in
Diffstat (limited to 'test cases/frameworks/23 hotdoc')
-rw-r--r--test cases/frameworks/23 hotdoc/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/test cases/frameworks/23 hotdoc/meson.build b/test cases/frameworks/23 hotdoc/meson.build
index 191569dd6..dd3c92acd 100644
--- a/test cases/frameworks/23 hotdoc/meson.build
+++ b/test cases/frameworks/23 hotdoc/meson.build
@@ -7,3 +7,9 @@ endif
subdir('doc')
+assert(hotdoc.has_extensions(['gi-extension']) == true,
+ 'GI extension should always be found.')
+
+assert(hotdoc.has_extensions(['gi-extension', 'no-way-you-exist-extension']) == false,
+ 'A hotdoc extension called "no-way-you-exist-extension" should never be found.')
+