From 046ca492a8de8a82604e85935050c2b5616df8bf Mon Sep 17 00:00:00 2001 From: andy Date: Sat, 3 Oct 2020 00:10:36 -0300 Subject: [PATCH] add a test --- tests/test_character.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_character.rs b/tests/test_character.rs index c6196b8..979f123 100644 --- a/tests/test_character.rs +++ b/tests/test_character.rs @@ -9,7 +9,7 @@ mod common; use common::*; #[async_std::test] -pub async fn test_save_options(ship: &mut ShipServerState, id: ClientId, options: u32) { +async fn test_save_options(ship: &mut ShipServerState, id: ClientId, options: u32) { let mut entity_gateway = InMemoryGateway::new(); let (user1, _char1) = new_user_character(&mut entity_gateway, "a1", "a").await; @@ -28,4 +28,4 @@ pub async fn test_save_options(ship: &mut ShipServerState let char = characters[0].as_ref().unwrap(); assert!(char.option_flags == 12345); -} +} \ No newline at end of file