summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2024-12-06 13:03:16 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-10-20 15:15:53 -0700
commitac49d7e2a8183d4e68c9b006318c4ed4c2efabae (patch)
tree35ddf374d40aed3de187f940a23944f0cc56e9ac /unittests
parentb7d2e1778c24057b4c20d87996568f6a72a46d73 (diff)
downloadmeson-ac49d7e2a8183d4e68c9b006318c4ed4c2efabae.tar.gz
interpreter: port dependency version to typed_kwargs
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 bcc4aafdb..3743f2943 100644
--- a/unittests/failuretests.py
+++ b/unittests/failuretests.py
@@ -149,7 +149,7 @@ class FailureTests(BasePlatformTests):
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')", "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', version : 1)", r"dependency keyword argument 'version' was of type array\[int\] but should have been array\[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"),
("dependency('zlibfail')", self.dnf),)