mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-01 00:24:59 +02:00
tests: add regression test for warnings + assertions
Ensure `mkTestDerivationFromNixvimModule` correctly test warnings & assertions. Also did some minor cleanup: - Call `failing-tests.nix` using `pkgs.callPackage` - Replace repetive use of `testBuildFailure` with a wrapper `mkFailingNixvimTest`
This commit is contained in:
parent
4814147442
commit
1c879ec3aa
2 changed files with 62 additions and 18 deletions
|
@ -25,8 +25,7 @@
|
|||
inherit (self.lib.${system}.check) mkTestDerivationFromNixvimModule;
|
||||
};
|
||||
|
||||
failing-tests = import ../tests/failing-tests.nix {
|
||||
inherit pkgs;
|
||||
failing-tests = pkgs.callPackage ../tests/failing-tests.nix {
|
||||
inherit (self.lib.${system}.check) mkTestDerivationFromNixvimModule;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue