()
| 1461 | /// Test creating a new Clone with URL. |
| 1462 | #[test] |
| 1463 | fn test_clone_new() { |
| 1464 | let clone = Clone::new("https://example.com/repo".to_string()); |
| 1465 | |
| 1466 | assert_eq!(clone.url, "https://example.com/repo"); |
| 1467 | assert!(clone.path.is_none()); |
| 1468 | assert_eq!(clone.view, DEFAULT_VIEW); |
| 1469 | assert!(!clone.insecure); |
| 1470 | assert_eq!(clone.timeout, DEFAULT_TIMEOUT_SECS); |
| 1471 | assert!(!clone.download_only); |
| 1472 | assert!(!clone.into_existing); |
| 1473 | assert!(!clone.all_views); |
| 1474 | } |
| 1475 | |
| 1476 | /// Test Default trait implementation. |
| 1477 | #[test] |
nothing calls this directly
no outgoing calls
no test coverage detected