()
| 530 | |
| 531 | #[test] |
| 532 | fn command_fields() { |
| 533 | let cmd = Register { |
| 534 | server_url: "http://localhost:8080".to_string(), |
| 535 | identity: Some("alice".to_string()), |
| 536 | server_name: None, |
| 537 | }; |
| 538 | |
| 539 | assert_eq!(cmd.server_url, "http://localhost:8080"); |
| 540 | assert_eq!(cmd.identity, Some("alice".to_string())); |
| 541 | } |
| 542 | |
| 543 | #[test] |
| 544 | fn command_default_identity() { |
nothing calls this directly
no outgoing calls
no test coverage detected