()
| 74 | |
| 75 | #[test] |
| 76 | fn test_message_command() { |
| 77 | let command = UserCommand::SendMessage(SendMessageCommand { |
| 78 | room: "test".to_string(), |
| 79 | content: "test".to_string(), |
| 80 | }); |
| 81 | |
| 82 | assert_command_serialization(&command, r#"{"_ct":"send_message","r":"test","c":"test"}"#); |
| 83 | } |
| 84 | |
| 85 | #[test] |
| 86 | fn test_quit_command() { |
nothing calls this directly
no test coverage detected