()
| 65 | |
| 66 | #[test] |
| 67 | fn test_leave_command() { |
| 68 | let command = UserCommand::LeaveRoom(LeaveRoomCommand { |
| 69 | room: "test".to_string(), |
| 70 | }); |
| 71 | |
| 72 | assert_command_serialization(&command, r#"{"_ct":"leave_room","r":"test"}"#); |
| 73 | } |
| 74 | |
| 75 | #[test] |
| 76 | fn test_message_command() { |
nothing calls this directly
no test coverage detected