()
| 335 | |
| 336 | #[test] |
| 337 | fn test_remote_add_struct() { |
| 338 | let add = RemoteAdd { |
| 339 | name: "origin".to_string(), |
| 340 | url: "https://example.com/repo".to_string(), |
| 341 | default: false, |
| 342 | }; |
| 343 | assert_eq!(add.name, "origin"); |
| 344 | assert_eq!(add.url, "https://example.com/repo"); |
| 345 | assert!(!add.default); |
| 346 | } |
| 347 | |
| 348 | #[test] |
| 349 | fn test_remote_add_with_default() { |
nothing calls this directly
no outgoing calls
no test coverage detected