diff options
author | Robert Hensing | 2023-04-27 19:50:20 +0200 |
---|---|---|
committer | Robert Hensing | 2023-05-06 18:32:59 +0200 |
commit | 89491bef8dc72496812d94c32b5fdd962cbbe1f6 (patch) | |
tree | eb71bfe16289bb5982f98e64e3b70b52603a2902 /lib/tests | |
parent | 4c7aa7d831aa691a7331967a4a839b1088a48493 (diff) |
lib.modules: in evalModules return move _module.class -> configurationClass
Diffstat (limited to 'lib/tests')
-rwxr-xr-x | lib/tests/modules.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tests/modules.sh b/lib/tests/modules.sh index 8f4553464ad0..0aac5b946a3b 100755 --- a/lib/tests/modules.sh +++ b/lib/tests/modules.sh @@ -364,6 +364,7 @@ checkConfigOutput '^1$' config.sub.specialisation.value ./extendModules-168767-i # Class checks, evalModules checkConfigOutput '^{ }$' config.ok.config ./class-check.nix +checkConfigOutput '"nixos"' config.ok.configurationClass ./class-check.nix checkConfigError 'The module .*/module-class-is-darwin.nix was imported into nixos instead of darwin.' config.fail.config ./class-check.nix checkConfigError 'The module foo.nix#darwinModules.default was imported into nixos instead of darwin.' config.fail-anon.config ./class-check.nix |