fediversity/website/tests.nix
Valentin Gagarin a8dcc9f298
All checks were successful
/ check-pre-commit (push) Successful in 22s
set up expression-level tests
2024-11-27 12:36:32 +01:00

11 lines
231 B
Nix

# tests written for running with `nix-unit`
# https://github.com/nix-community/nix-unit
let
inherit (import ./. { }) lib;
in
{
test-relativePath = {
expr = with lib; relativePath "bar" "baz";
expected = "./baz";
};
}