()
| 775 | |
| 776 | #[test] |
| 777 | fn test_file_metadata_with_permissions() { |
| 778 | let meta = FileMetadata::file().with_permissions(0o600); |
| 779 | assert_eq!(meta.permissions, 0o600); |
| 780 | assert!(!meta.is_executable()); |
| 781 | } |
| 782 | |
| 783 | #[test] |
| 784 | fn test_file_metadata_bytes_roundtrip() { |
nothing calls this directly
no test coverage detected