summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2024-12-06 13:01:16 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-10-20 15:15:53 -0700
commit2a912a77bcb1fb07ca44ea220c0498204705acf5 (patch)
treeb497e37458335248aa53af650ed700c88c4c1168 /unittests
parentd94b016b73bd3fde64df8c5edc16e18a56c900a1 (diff)
downloadmeson-2a912a77bcb1fb07ca44ea220c0498204705acf5.tar.gz
interpreter: port dependency required 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 426ab993f..fa860d0a0 100644
--- a/unittests/failuretests.py
+++ b/unittests/failuretests.py
@@ -150,7 +150,7 @@ class FailureTests(BasePlatformTests):
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', version : 1)", "Item must be a list or one of <class 'str'>"),
- ("dependency('zlib', required : 1)", "[Rr]equired.*boolean"),
+ ("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),)
for contents, match in a: