Closed paoloteti closed 6 years ago
On recent nightly rather than directly give the test function to the test harness, compiler create a wrapper like this:
|| test::assert_test_result(real_function())
invoked when unit tests terminate
See 48143 on rust-lang/rust
Thanks, @paoloteti!
On recent nightly rather than directly give the test function to the test harness, compiler create a wrapper like this:
|| test::assert_test_result(real_function())
invoked when unit tests terminate
See 48143 on rust-lang/rust