diff options
Diffstat (limited to 'lib/tests/modules/doRename-condition-enable.nix')
-rw-r--r-- | lib/tests/modules/doRename-condition-enable.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/tests/modules/doRename-condition-enable.nix b/lib/tests/modules/doRename-condition-enable.nix new file mode 100644 index 000000000000..e6eabfa6f89a --- /dev/null +++ b/lib/tests/modules/doRename-condition-enable.nix @@ -0,0 +1,10 @@ +{ config, lib, ... }: +{ + config = { + services.foo.enable = true; + services.foo.bar = "baz"; + result = + assert config.services.foos == { "" = { bar = "baz"; }; }; + true; + }; +} |