diff options
Diffstat (limited to 'vendor/rayon-core/tests')
-rw-r--r-- | vendor/rayon-core/tests/double_init_fail.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/rayon-core/tests/double_init_fail.rs b/vendor/rayon-core/tests/double_init_fail.rs index ea06bf0e1..b3ddbeb88 100644 --- a/vendor/rayon-core/tests/double_init_fail.rs +++ b/vendor/rayon-core/tests/double_init_fail.rs @@ -4,7 +4,7 @@ use std::error::Error; #[test] fn double_init_fail() { let result1 = ThreadPoolBuilder::new().build_global(); - assert_eq!(result1.unwrap(), ()); + assert!(result1.is_ok()); let err = ThreadPoolBuilder::new().build_global().unwrap_err(); assert!(err.source().is_none()); assert_eq!( |