core/lib/tests/modules/doRename-condition-enable.nix

11 lines
196 B
Nix
Raw Normal View History

2024-05-01 22:14:04 +00:00
{ config, lib, ... }:
{
config = {
services.foo.enable = true;
services.foo.bar = "baz";
result =
assert config.services.foos == { "" = { bar = "baz"; }; };
true;
};
}