summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2024-12-06 13:01:51 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-10-20 15:15:53 -0700
commit906348b0287b0570cce4297221b56191164ebef4 (patch)
treeb738cd3328957d4dbca0d19f010f6d8a555fef06 /unittests
parent2a912a77bcb1fb07ca44ea220c0498204705acf5 (diff)
downloadmeson-906348b0287b0570cce4297221b56191164ebef4.tar.gz
interpreter: port dependency static to typed_kwargs
Static must be optional, because although the default is static=false, we special case that static : false is different than static being not set in a number of cases.
Diffstat (limited to 'unittests')
-rw-r--r--unittests/failuretests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/failuretests.py b/unittests/failuretests.py
index fa860d0a0..bcc4aafdb 100644
--- a/unittests/failuretests.py
+++ b/unittests/failuretests.py
@@ -148,7 +148,7 @@ class FailureTests(BasePlatformTests):
if subprocess.call(['pkg-config', '--exists', 'zlib']) != 0:
raise unittest.SkipTest('zlib not found with pkg-config')
a = (("dependency('zlib', method : 'fail')", 'dependency keyword argument "method" must be one of auto, builtin, cmake, config-tool, cups-config, dub, extraframework, libwmf-config, pcap-config, pkg-config, qmake, sdlconfig, sysconfig, system, not fail'),
- ("dependency('zlib', static : '1')", "[Ss]tatic.*boolean"),
+ ("dependency('zlib', static : '1')", "dependency keyword argument 'static' was of type str but should have been one of: bool, NoneType"),
("dependency('zlib', version : 1)", "Item must be a list or one of <class 'str'>"),
("dependency('zlib', required : 1)", "dependency keyword argument 'required' was of type int but should have been one of: bool, UserFeatureOption"),
("dependency('zlib', method : 1)", "dependency keyword argument 'method' was of type int but should have been str"),