Skip to content

Commit

Permalink
tests/nixos/fetch-git: Apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
roberth authored Jan 18, 2024
1 parent 0f95330 commit 1918bd2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion tests/nixos/fetch-git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
testCases =
map
(testCaseName: {...}: {
imports = ["${./test-cases}/${testCaseName}"];
imports = [ (./test-cases + "/testCaseName") ];
# ensures tests are named like their directories they are defined in
name = testCaseName;
})
Expand Down
3 changes: 0 additions & 3 deletions tests/nixos/fetch-git/testsupport/setup.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ in
The name of the test case.
A repository with that name will be set up on the gitea server and locally.
This name can also be used to execute only a single test case via:
`nix build .#hydraJobs.fetch-git.{test-case-name}`
'';
};
options.description = mkOption {
Expand Down

0 comments on commit 1918bd2

Please sign in to comment.