summary refs log tree commit diff
diff options
context:
space:
mode:
authordavidak <git@davidak.de>2022-09-15 05:03:56 +0200
committerdavidak <git@davidak.de>2022-09-15 05:03:56 +0200
commitbd85869a133bf79333b3f86495dfcccae4e3b305 (patch)
tree34dd4169ca79945e14fb5fa3472025e515973613
parentf58312c4da47e0de163a96cd95bb2b3d985a0683 (diff)
downloadnixpkgs-bd85869a133bf79333b3f86495dfcccae4e3b305.tar
nixpkgs-bd85869a133bf79333b3f86495dfcccae4e3b305.tar.gz
nixpkgs-bd85869a133bf79333b3f86495dfcccae4e3b305.tar.bz2
nixpkgs-bd85869a133bf79333b3f86495dfcccae4e3b305.tar.lz
nixpkgs-bd85869a133bf79333b3f86495dfcccae4e3b305.tar.xz
nixpkgs-bd85869a133bf79333b3f86495dfcccae4e3b305.tar.zst
nixpkgs-bd85869a133bf79333b3f86495dfcccae4e3b305.zip
ghr: simplify test
also rename to common name
-rw-r--r--pkgs/applications/version-management/git-and-tools/ghr/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/ghr/default.nix b/pkgs/applications/version-management/git-and-tools/ghr/default.nix
index b5188c97f07..8993498609f 100644
--- a/pkgs/applications/version-management/git-and-tools/ghr/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/ghr/default.nix
@@ -22,9 +22,9 @@ buildGoModule rec {
   doCheck = false;
   doInstallCheck = true;
 
-  passthru.tests.testVersion = testers.testVersion {
+  passthru.tests.version = testers.testVersion {
     package = ghr;
-    version = "ghr version v${version}";
+    version = "v${version}";
   };
 
   meta = with lib; {