typos: add passthru.tests.version
typos: avoid multi-line style typos: simplify version test with the default values Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com> Co-authored-by: Isabel <isabel@isabelroses.com>
This commit is contained in:
parent
8213a8a557
commit
1f983dbc47
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user