()
| 971 | |
| 972 | #[test] |
| 973 | fn test_archive_entry_file() { |
| 974 | let entry = ArchiveEntry::file("src/main.rs", 1024); |
| 975 | |
| 976 | assert_eq!(entry.path, "src/main.rs"); |
| 977 | assert!(!entry.is_directory); |
| 978 | assert_eq!(entry.size, 1024); |
| 979 | assert_eq!(entry.mode, 0o644); |
| 980 | } |
| 981 | |
| 982 | #[test] |
| 983 | fn test_archive_entry_directory() { |
nothing calls this directly
no outgoing calls
no test coverage detected