zsh-history: Add tests

This commit is contained in:
Christian Kampka
2019-12-13 21:47:15 +01:00
parent b85286fe66
commit c98d54a3e9
3 changed files with 41 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildGoModule, installShellFiles }:
{ lib, fetchFromGitHub, buildGoModule, installShellFiles, nixosTests }:
buildGoModule rec {
pname = "zsh-history";
@@ -29,4 +29,8 @@ buildGoModule rec {
platforms = platforms.unix;
maintainers = with maintainers; [ kampka ];
};
passthru.tests = {
zsh-history-shell-integration = nixosTests.zsh-history;
};
}