()
| 834 | /// Test Clone can be cloned (the trait, not the command). |
| 835 | #[test] |
| 836 | fn test_clone_clone() { |
| 837 | let original = Clone::new("https://example.com/repo".to_string()) |
| 838 | .with_path("test") |
| 839 | .with_insecure(true); |
| 840 | |
| 841 | let cloned = original.clone(); |
| 842 | |
| 843 | assert_eq!(cloned.url, "https://example.com/repo"); |
| 844 | assert_eq!(cloned.path, Some("test".to_string())); |
| 845 | assert!(cloned.insecure); |
| 846 | } |
| 847 | |
| 848 | /// Test Clone has Debug implementation. |
| 849 | #[test] |
nothing calls this directly
no test coverage detected