From a990de90fe41456a23e58bd087d2f107d321f3a1 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 19 Jul 2024 16:37:58 +0400 Subject: Deleted vendor folder --- vendor/rayon-core/tests/double_init_fail.rs | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 vendor/rayon-core/tests/double_init_fail.rs (limited to 'vendor/rayon-core/tests/double_init_fail.rs') diff --git a/vendor/rayon-core/tests/double_init_fail.rs b/vendor/rayon-core/tests/double_init_fail.rs deleted file mode 100644 index 1591530..0000000 --- a/vendor/rayon-core/tests/double_init_fail.rs +++ /dev/null @@ -1,15 +0,0 @@ -use rayon_core::ThreadPoolBuilder; -use std::error::Error; - -#[test] -#[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)] -fn double_init_fail() { - let result1 = ThreadPoolBuilder::new().build_global(); - assert!(result1.is_ok()); - let err = ThreadPoolBuilder::new().build_global().unwrap_err(); - assert!(err.source().is_none()); - assert_eq!( - err.to_string(), - "The global thread pool has already been initialized.", - ); -} -- cgit v1.2.3