()
| 1035 | /// Test Clone can be cloned (the trait, not the command). |
| 1036 | #[test] |
| 1037 | fn test_clone_clone() { |
| 1038 | let original = Clone::new("https://example.com/repo".to_string()) |
| 1039 | .with_path("test") |
| 1040 | .with_insecure(true); |
| 1041 | |
| 1042 | let cloned = original.clone(); |
| 1043 | |
| 1044 | assert_eq!(cloned.url, "https://example.com/repo"); |
| 1045 | assert_eq!(cloned.path, Some("test".to_string())); |
| 1046 | assert!(cloned.insecure); |
| 1047 | } |
| 1048 | |
| 1049 | /// Test Clone has Debug implementation. |
| 1050 | #[test] |
nothing calls this directly
no test coverage detected