tests: pass diskoLib instead of makeDiskoTest

This commit is contained in:
lassulus authored and mergify[bot] committed 2023-07-28 12:43:42 +00:00
1 parent 5e253d949f
commit 04e227bab7
24 files changed
+71 -72

No files matched your search

+3 -3
View File
@@ -1,8 +1,8 @@
# this is a regression test for https://github.com/nix-community/disko/issues/52
{ pkgs ? (import <nixpkgs> { })
, makeDiskoTest ? (pkgs.callPackage ../lib { }).testLib.makeDiskoTest
{ pkgs ? import <nixpkgs> { }
, diskoLib ? pkgs.callPackage ../lib { }
}:
makeDiskoTest {
diskoLib.testLib.makeDiskoTest {
inherit pkgs;
name = "negative-size";
disko-config = ../example/negative-size.nix;