diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2024-12-06 13:03:16 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-10-20 15:15:53 -0700 |
| commit | ac49d7e2a8183d4e68c9b006318c4ed4c2efabae (patch) | |
| tree | 35ddf374d40aed3de187f940a23944f0cc56e9ac /unittests | |
| parent | b7d2e1778c24057b4c20d87996568f6a72a46d73 (diff) | |
| download | meson-ac49d7e2a8183d4e68c9b006318c4ed4c2efabae.tar.gz | |
interpreter: port dependency version to typed_kwargs
Diffstat (limited to 'unittests')
| -rw-r--r-- | unittests/failuretests.py | 2 |
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),) |
