Revert "lib.types.attrsWith: remove failing test" (#382856)

authored by

Johannes Kirschbauer and committed by
GitHub
7bbacbb1 6cce8ad1

+4
+4
lib/tests/modules.sh
··· 398 398 checkConfigOutput '^"mergedName.<id>.nested"$' config.result ./name-merge-attrsWith-1.nix 399 399 checkConfigError 'The option .mergedName. in .*\.nix. is already declared in .*\.nix' config.mergedName ./name-merge-attrsWith-2.nix 400 400 401 + # Test the attrsOf functor.wrapped warning 402 + # shellcheck disable=2016 403 + NIX_ABORT_ON_WARN=1 checkConfigError 'The deprecated `type.functor.wrapped` attribute of the option `mergedLazyLazy` is accessed, use `type.nestedTypes.elemType` instead.' options.mergedLazyLazy.type.functor.wrapped ./lazy-attrsWith.nix 404 + 401 405 # Even with multiple assignments, a type error should be thrown if any of them aren't valid 402 406 checkConfigError 'A definition for option .* is not of type .*' \ 403 407 config.value ./declare-int-unsigned-value.nix ./define-value-list.nix ./define-value-int-positive.nix