()
| 981 | |
| 982 | #[test] |
| 983 | fn test_archive_entry_directory() { |
| 984 | let entry = ArchiveEntry::directory("src/"); |
| 985 | |
| 986 | assert_eq!(entry.path, "src/"); |
| 987 | assert!(entry.is_directory); |
| 988 | assert_eq!(entry.size, 0); |
| 989 | assert_eq!(entry.mode, 0o755); |
| 990 | } |
| 991 | |
| 992 | #[test] |
| 993 | fn test_archive_entry_with_mode() { |
nothing calls this directly
no outgoing calls
no test coverage detected