]> git.proxmox.com Git - cargo.git/commit
Fix panic-in-panic in tests.
authorEric Huss <eric@huss.org>
Thu, 13 Dec 2018 19:55:38 +0000 (11:55 -0800)
committerEric Huss <eric@huss.org>
Thu, 13 Dec 2018 19:55:38 +0000 (11:55 -0800)
commitfa94e8aab49fb77bbe8bcc4d9e221495c5a7138c
tree4250e55923373ebdff931140aa0f808410089822
parent5bb302352a65d4cdcb7d0fe30bcb1a921b7ae8e3
Fix panic-in-panic in tests.

There are some very rare circumstances that can cause a double panic during
development. For example, `.with_json("")` will panic, and then the drop
will also panic.
tests/testsuite/support/mod.rs