()
| 1256 | /// Test Clone can be cloned (the trait, not the command). |
| 1257 | #[test] |
| 1258 | fn test_clone_clone() { |
| 1259 | let original = Clone::new("https://example.com/repo".to_string()) |
| 1260 | .with_path("test") |
| 1261 | .with_insecure(true); |
| 1262 | |
| 1263 | let cloned = original.clone(); |
| 1264 | |
| 1265 | assert_eq!(cloned.url, "https://example.com/repo"); |
| 1266 | assert_eq!(cloned.path, Some("test".to_string())); |
| 1267 | assert!(cloned.insecure); |
| 1268 | } |
| 1269 | |
| 1270 | /// Test Clone has Debug implementation. |
| 1271 | #[test] |
nothing calls this directly
no test coverage detected