()
| 783 | |
| 784 | #[test] |
| 785 | fn test_file_metadata_regular_file() { |
| 786 | let meta = FileMetadata::regular_file(); |
| 787 | assert_eq!(meta.permissions(), 0o644); |
| 788 | assert!(!meta.is_dir()); |
| 789 | assert!(!meta.is_executable()); |
| 790 | } |
| 791 | |
| 792 | #[test] |
| 793 | fn test_file_metadata_executable() { |
nothing calls this directly
no outgoing calls
no test coverage detected