()
| 816 | /// Test Clone can be cloned (the trait, not the command). |
| 817 | #[test] |
| 818 | fn test_clone_clone() { |
| 819 | let original = Clone::new("https://example.com/repo".to_string()) |
| 820 | .with_path("test") |
| 821 | .with_insecure(true); |
| 822 | |
| 823 | let cloned = original.clone(); |
| 824 | |
| 825 | assert_eq!(cloned.url, "https://example.com/repo"); |
| 826 | assert_eq!(cloned.path, Some("test".to_string())); |
| 827 | assert!(cloned.insecure); |
| 828 | } |
| 829 | |
| 830 | /// Test Clone has Debug implementation. |
| 831 | #[test] |
nothing calls this directly
no test coverage detected