diff options
author | Profpatsch <mail@profpatsch.de> | 2021-01-29T19·53+0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2021-01-30T11·44+0000 |
commit | f4a4da134b42e3fcb95101e98aaba6d23c35e193 (patch) | |
tree | 4b4b6299a991dda5166a306e9cc4c7f3b88161bc /third_party/nix/src/tests/value-to-json.cc | |
parent | 7f091079ce834775abcd4840ca42122727f4593e (diff) |
feat(nix/runTestsuite): add assertThrows r/2162
Uses `builtins.tryEval` to check that the expression throws when `deepSeq`-ed. Change-Id: I0d57cc37f473bb733f57a1b1c0d889084152fd2f Reviewed-on: https://cl.tvl.fyi/c/depot/+/2463 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'third_party/nix/src/tests/value-to-json.cc')
0 files changed, 0 insertions, 0 deletions