diff --git a/contracts/feature-tests/rust-testing-framework-tester/tests/tester_blackbox_test.rs b/contracts/feature-tests/rust-testing-framework-tester/tests/tester_blackbox_test.rs index fe4e7f5b77..a426721718 100644 --- a/contracts/feature-tests/rust-testing-framework-tester/tests/tester_blackbox_test.rs +++ b/contracts/feature-tests/rust-testing-framework-tester/tests/tester_blackbox_test.rs @@ -44,7 +44,7 @@ fn tester_deploy_test() { #[test] fn tester_deploy_test_spawned_thread() { - let handler = std::thread::spawn(|| tester_deploy_test()); + let handler = std::thread::spawn(tester_deploy_test); handler.join().unwrap(); }