Browse Source

add a test

pbs
andy 4 years ago
parent
commit
046ca492a8
  1. 2
      tests/test_character.rs

2
tests/test_character.rs

@ -9,7 +9,7 @@ mod common;
use common::*; use common::*;
#[async_std::test] #[async_std::test]
pub async fn test_save_options<EG: EntityGateway>(ship: &mut ShipServerState<EG>, id: ClientId, options: u32) {
async fn test_save_options<EG: EntityGateway>(ship: &mut ShipServerState<EG>, id: ClientId, options: u32) {
let mut entity_gateway = InMemoryGateway::new(); let mut entity_gateway = InMemoryGateway::new();
let (user1, _char1) = new_user_character(&mut entity_gateway, "a1", "a").await; let (user1, _char1) = new_user_character(&mut entity_gateway, "a1", "a").await;

Loading…
Cancel
Save