tests: remove special treatment of module

Since we no longer need to extract `tests.dontRun` from an attrset, we
no longer need the "special" `module` attr.
This commit is contained in:
Matt Sturgeon 2024-08-20 00:54:50 +01:00
parent 7b2a6cd9e6
commit 123a55ed6f
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
14 changed files with 266 additions and 285 deletions

View file

@ -1,6 +1,6 @@
{
# Test that nothing is configured by default
default.module =
default =
{ config, lib, ... }:
{
files."files_test.lua" = { };
@ -18,7 +18,7 @@
};
# Test Lua loader enabled
enabled.module =
enabled =
{ config, lib, ... }:
{
luaLoader.enable = true;
@ -38,7 +38,7 @@
};
# Test Lua loader disabled
disabled.module =
disabled =
{ config, lib, ... }:
{
luaLoader.enable = false;