Unverified Commit 1f983dbc authored by Kenichi Kamiya's avatar Kenichi Kamiya
Browse files

typos: add passthru.tests.version



typos: avoid multi-line style
typos: simplify version test with the default values

Co-authored-by: default avatarPol Dellaiera <pol.dellaiera@protonmail.com>
Co-authored-by: default avatarIsabel <isabel@isabelroses.com>
parent 8213a8a5
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@
  lib,
  rustPlatform,
  fetchFromGitHub,
  testers,
  typos,
}:

rustPlatform.buildRustPackage rec {
@@ -17,6 +19,10 @@ rustPlatform.buildRustPackage rec {

  cargoHash = "sha256-WuYAE2msctMf+7C1h5pNGyjrEInnT6PxfZ94bZhzB5w=";

  passthru = {
    tests.version = testers.testVersion { package = typos; };
  };

  meta = with lib; {
    description = "Source code spell checker";
    mainProgram = "typos";