()
| 739 | /// Test normalize_url removes trailing slash. |
| 740 | #[test] |
| 741 | fn test_normalize_url() { |
| 742 | assert_eq!(normalize_url("https://example.com/"), "https://example.com"); |
| 743 | assert_eq!( |
| 744 | normalize_url("https://example.com/repo/"), |
| 745 | "https://example.com/repo" |
| 746 | ); |
| 747 | assert_eq!( |
| 748 | normalize_url("https://example.com/repo"), |
| 749 | "https://example.com/repo" |
| 750 | ); |
| 751 | } |
| 752 | |
| 753 | // Path Validation Tests |
| 754 |
nothing calls this directly
no outgoing calls
no test coverage detected