()
| 1554 | /// Test Clone can be cloned (the trait, not the command). |
| 1555 | #[test] |
| 1556 | fn test_clone_clone() { |
| 1557 | let original = Clone::new("https://example.com/repo".to_string()) |
| 1558 | .with_path("test") |
| 1559 | .with_insecure(true); |
| 1560 | |
| 1561 | let cloned = original.clone(); |
| 1562 | |
| 1563 | assert_eq!(cloned.url, "https://example.com/repo"); |
| 1564 | assert_eq!(cloned.path, Some("test".to_string())); |
| 1565 | assert!(cloned.insecure); |
| 1566 | } |
| 1567 | |
| 1568 | /// Test Clone has Debug implementation. |
| 1569 | #[test] |
nothing calls this directly
no test coverage detected