use describe in docs
This commit is contained in:
parent
32a3950d16
commit
44e647cac0
3 changed files with 16 additions and 9 deletions
10
tix/it.nix
10
tix/it.nix
|
|
@ -25,10 +25,12 @@ msg: {
|
|||
else v;
|
||||
|
||||
success =
|
||||
builtins.trace "testing if it ${msg}"
|
||||
( if throws
|
||||
then (builtins.tryEval actual).success == false
|
||||
else (a == e) );
|
||||
builtins.trace "testing if it ${msg}"
|
||||
(
|
||||
if throws
|
||||
then (builtins.tryEval actual).success == false
|
||||
else (a == e)
|
||||
);
|
||||
in
|
||||
{
|
||||
inherit success msg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue