test/sandbox: separate test tool source

This improves readability and allows gofmt to format the file.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-03-27 23:43:13 +09:00
parent a102178019
commit d97a03c7c6
4 changed files with 35 additions and 48 deletions

View File

@@ -5,15 +5,7 @@
...
}:
let
testCases = import ./sandbox/case {
inherit (pkgs)
lib
callPackage
writeText
foot
;
inherit (config.environment.fortify.package) version;
};
testCases = import ./sandbox/case pkgs config.environment.fortify.package.version;
in
{
users.users = {