MCPcopy Create free account
hub / github.com/Yengas/rust-chat-server / test_quit_command

Function test_quit_command

comms/src/command.rs:86–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84
85 #[test]
86 fn test_quit_command() {
87 let command = UserCommand::Quit(QuitCommand);
88
89 assert_command_serialization(&command, r#"{"_ct":"quit"}"#);
90 }
91}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected