diff --git a/dev/tests/eval-tests.nix b/dev/tests/eval-tests.nix index c3c03b6..2da3d99 100644 --- a/dev/tests/eval-tests.nix +++ b/dev/tests/eval-tests.nix @@ -28,17 +28,17 @@ rec { emptyExposeArgs = mkFlake { inputs.self = { outPath = "the self outpath"; }; } - ({ config, moduleLocation, errorLocation, ... }: { + ({ config, moduleLocation, ... }: { flake = { - inherit moduleLocation errorLocation; + inherit moduleLocation; }; }); emptyExposeArgsNoSelf = mkFlake { inputs.self = throw "self won't be available in case of some errors"; } - ({ config, moduleLocation, errorLocation, ... }: { + ({ config, moduleLocation, ... }: { flake = { - inherit moduleLocation errorLocation; + inherit moduleLocation; }; }); @@ -180,10 +180,6 @@ rec { assert emptyExposeArgs.moduleLocation == "the self outpath/flake.nix"; - assert emptyExposeArgs.errorLocation == __curPos.file; - - assert emptyExposeArgsNoSelf.errorLocation == __curPos.file; - ok; result = runTests "ok";