1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-30 22:21:02 +01:00
home-manager/tests/modules/programs/gnome-terminal/bad-profile-name.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

23 lines
489 B
Nix

{
programs.gnome-terminal = {
enable = true;
profile = {
bad-name = {
visibleName = "a";
};
"e0b782ed-6aca-44eb-8c75-62b3706b6220" = {
default = true;
visibleName = "b";
};
another-bad-name = {
visibleName = "c";
};
};
};
test.asserts.assertions.expected = [
''
The attribute name of a Gnome Terminal profile must be a UUID.
Incorrect profile names: another-bad-name, bad-name''
];
}