From da00ec4b45f5cfc5b47825818b57db1d1950757d Mon Sep 17 00:00:00 2001 From: "(cdep)illabout" Date: Fri, 4 Jan 2019 16:34:59 +0900 Subject: Add a failing test for mkAliasOptionModule. --- lib/tests/modules.sh | 3 ++ lib/tests/modules/alias-with-priority.nix | 52 +++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 lib/tests/modules/alias-with-priority.nix (limited to 'lib') diff --git a/lib/tests/modules.sh b/lib/tests/modules.sh index b83e1eb7d82d0..45f391785228c 100755 --- a/lib/tests/modules.sh +++ b/lib/tests/modules.sh @@ -149,6 +149,9 @@ checkConfigOutput "1 2 3 4 5 6 7 8 9 10" config.result ./loaOf-with-long-list.ni # Check loaOf with many merges of lists. checkConfigOutput "1 2 3 4 5 6 7 8 9 10" config.result ./loaOf-with-many-list-merges.nix +# Check mkAliasOptionModuleWithPriority. +checkConfigOutput "true" config.enable ./alias-with-priority.nix + cat <