1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-05 01:19:46 +01:00
home-manager/tests/modules/programs/bottom
polykernel 7c0dc519e1
bottom: fix empty-settings test on darwin (#2603)
The empty configuration test for the bottom module introduced as of https://github.com/nix-community/home-manager/pull/2323
is not cross platform. Specifically, it silently fails under a darwin environment due to
the configuration file not being generated at $XDG_CONFIG_HOME. This PR add cross platform support
by specifying the platform-dependent configuration directories to check. The expected unit test data
was also extracted to a separate file to differentiate between test data changes and
changes to the test itself.
2022-01-01 20:28:45 -07:00
..
default.nix bottom: add module 2021-09-14 23:40:21 +02:00
empty-settings.nix bottom: fix empty-settings test on darwin (#2603) 2022-01-01 20:28:45 -07:00
example-settings-expected.toml bottom: fix empty-settings test on darwin (#2603) 2022-01-01 20:28:45 -07:00
example-settings.nix bottom: fix empty-settings test on darwin (#2603) 2022-01-01 20:28:45 -07:00