()
| 719 | /// Test Clone can be cloned (the trait, not the command). |
| 720 | #[test] |
| 721 | fn test_clone_clone() { |
| 722 | let original = Clone::new("https://example.com/repo".to_string()) |
| 723 | .with_path("test") |
| 724 | .with_insecure(true); |
| 725 | |
| 726 | let cloned = original.clone(); |
| 727 | |
| 728 | assert_eq!(cloned.url, "https://example.com/repo"); |
| 729 | assert_eq!(cloned.path, Some("test".to_string())); |
| 730 | assert!(cloned.insecure); |
| 731 | } |
| 732 | |
| 733 | /// Test Clone has Debug implementation. |
| 734 | #[test] |
nothing calls this directly
no test coverage detected