1
1
Fork 1
mirror of https://github.com/oddlama/nixos-extra-modules.git synced 2025-10-10 22:00:39 +02:00

feat: add testing infrastructure

This commit is contained in:
Patrick 2025-04-14 21:12:17 +02:00
parent d04a0125d5
commit c875dd77fe
No known key found for this signature in database
GPG key ID: 451F95EFB8BECD0F
4 changed files with 661 additions and 1 deletions

15
tests/shift.nix Normal file
View file

@ -0,0 +1,15 @@
{
nixt,
pkgs,
...
}:
let
inherit (nixt.lib) block describe it;
inherit (pkgs.lib.bit) left;
in
block ./shift.nix [
(describe "" [
(it "Single left shift" (left 1 1 == 2))
(it "Single left shift" (left 1 2 == 2))
])
]