From 6a7d250007baedeb4de34e8ce490d49160cb63a8 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Fri, 4 Sep 2020 15:27:26 +0200 Subject: lib/tests: Add tests for types.anything --- lib/tests/modules/types-anything/lists.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lib/tests/modules/types-anything/lists.nix (limited to 'lib/tests/modules/types-anything/lists.nix') diff --git a/lib/tests/modules/types-anything/lists.nix b/lib/tests/modules/types-anything/lists.nix new file mode 100644 index 00000000000..bd846afd3d1 --- /dev/null +++ b/lib/tests/modules/types-anything/lists.nix @@ -0,0 +1,16 @@ +{ lib, ... }: { + + options.value = lib.mkOption { + type = lib.types.anything; + }; + + config = lib.mkMerge [ + { + value = [ null ]; + } + { + value = [ null ]; + } + ]; + +} -- cgit 1.4.1