mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 10:24:07 +00:00
b40d043d5a
Updates tests for testers.testEqualContents with diffoscope and fixes some bugs in tests (e.g. fileDiff always succeed because subshell does not inherit errexit option). |
||
---|---|---|
.. | ||
default.nix | ||
README.md |
Tests for the testers
cd nixpkgs
nix-build -A tests.testers
Tests generally derive their own correctness from simplicity, which in the case of testers (themselves functions) does not always work out. Hence the need for tests that test the testers.