fix typo in test name and enable single thread on windows

This commit is contained in:
Alfredo Garcia 2024-04-22 09:52:34 -03:00
parent 60b43c0ff4
commit b53b0b99ef
1 changed files with 2 additions and 2 deletions

View File

@ -23,14 +23,14 @@ use super::super::*;
/// Test that the JSON-RPC server spawns when configured with a single thread.
#[test]
#[cfg(not(target_os = "windows"))]
fn rpc_server_spawn_single_thread() {
rpc_server_spawn(false)
}
/// Test that the JSON-RPC server spawns when configured with multiple threads.
#[test]
fn rpc_sever_spawn_parallel_threads() {
#[cfg(not(target_os = "windows"))]
fn rpc_server_spawn_parallel_threads() {
rpc_server_spawn(true)
}