formatting

This commit is contained in:
JustTestingV 2024-02-18 17:52:30 +03:00
parent 79eecf46e1
commit d19014a7d1
2 changed files with 1 additions and 3 deletions

View File

@ -215,7 +215,6 @@ async fn handle_socket(
},
}
let a = xml_reader.into_inner().into_inner();
let b = xml_writer.into_inner();
a.unsplit(b).shutdown().await?;

View File

@ -187,7 +187,6 @@ async fn scenario_basic() -> Result<()> {
Ok(())
}
#[tokio::test]
async fn terminate_socket() -> Result<()> {
tracing_subscriber::fmt::init();
@ -200,7 +199,7 @@ async fn terminate_socket() -> Result<()> {
let mut storage = Storage::open(StorageConfig {
db_path: ":memory:".into(),
})
.await?;
.await?;
let rooms = RoomRegistry::new(&mut metrics, storage.clone()).unwrap();
let players = PlayerRegistry::empty(rooms.clone(), &mut metrics).unwrap();
let server = launch(config, players, rooms, metrics, storage.clone()).await.unwrap();