diff --git a/tix/describe.nix b/tix/describe.nix index 3d855e9..c83179d 100644 --- a/tix/describe.nix +++ b/tix/describe.nix @@ -1,4 +1,5 @@ name: +builtins.trace "testing ${name}" map ({ msg, success, diff --git a/tix/it.nix b/tix/it.nix index cbf5021..dc6e74e 100644 --- a/tix/it.nix +++ b/tix/it.nix @@ -24,22 +24,11 @@ msg: { then builtins.removeAttrs v ["__toString" "__functor"] else v; - out = - if safeToPrint - then - builtins.toJSON (undunder ( - if throws - then (builtins.tryEval actual).value - else { - inherit actual expected; - } - )) - else ''{"msg": "cannot be stringified ):"}''; - success = - if throws + builtins.trace "testing if it ${msg}" + ( if throws then (builtins.tryEval actual).success == false - else (a == e); + else (a == e) ); in { inherit success msg;