tix/test/run.test.nix

13 lines
242 B
Nix
Raw Normal View History

2024-01-02 12:44:07 +00:00
{ 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;
})
]