tix/test/run.test.nix
2024-01-02 13:15:50 +00:00

11 lines
238 B
Nix

{it, ...}: let
pkgs = import <nixpkgs> {}; # impure ¯\_(ツ)_/¯
run = import ../tix/run.nix pkgs;
output = run [./it.test.nix];
in [
(it "makes a derivation called test" {
expected = "test";
actual = output.name;
})
]