refactor: remove duplication

This commit is contained in:
FUFSoB committed 2026-09-18 21:39:18 +05:00
1 parent f7036f6075
commit 8a4ba2db6a
109 files changed
+2206 -3078

No files matched your search

+6 -5
View File
@@ -1,10 +1,12 @@
{
checkLib,
pkgs,
evalProxySuite,
baseModule,
}:
let
inherit (checkLib) ok;
inherit (pkgs.lib) hasInfix;
mkFixture =
@@ -136,11 +138,10 @@ in
)
# -- userControl: scopes without enable is refused, not silently ignored --
(
assert builtins.any (
(ok (
builtins.any (
a: !a.assertion && hasInfix "userControl.scopes is set" a.message
) scopesWithoutEnableFixture.config.assertions;
true
)
) scopesWithoutEnableFixture.config.assertions
))
];
}