Skip to content

Instantly share code, notes, and snippets.

@grahamc
Last active October 14, 2018 02:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamc/0cf73bf221673efa1bd35cd7cbb0e16f to your computer and use it in GitHub Desktop.
Save grahamc/0cf73bf221673efa1bd35cd7cbb0e16f to your computer and use it in GitHub Desktop.
[nix-shell:~/projects/nixpkgs/doc/functions/library]$ ./test.py 2> /dev/null
function-library-lib.attrsets.recursiveUpdateUntil-example: pass
-------- Doc test failure --------
ID: function-library-lib.attrsets.matchAttrs-example-matching-pattern-deep
Executing:
{
actual = (let lib = import ../../../lib; in (
lib.attrsets.matchAttrs
{ host = { cpu = {}; }; }
{ host = { cpu = { bits = 64; }; }; }
));
expect = (
false
);
}
Expecting:
false
Found:
True
----
Retry failing examples with:
./test.py function-library-lib.attrsets.matchAttrs-example-matching-pattern-deep
[nix-shell:~/projects/nixpkgs/doc/functions/library]$ ./test.py function-library-lib.attrsets.matchAttrs-example-matching-pattern-deep 2> /dev/null
-------- Doc test failure --------
ID: function-library-lib.attrsets.matchAttrs-example-matching-pattern-deep
Executing:
{
actual = (let lib = import ../../../lib; in (
lib.attrsets.matchAttrs
{ host = { cpu = {}; }; }
{ host = { cpu = { bits = 64; }; }; }
));
expect = (
false
);
}
Expecting:
false
Found:
True
----
Retry failing examples with:
./test.py function-library-lib.attrsets.matchAttrs-example-matching-pattern-deep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment