()
| 683 | |
| 684 | #[test] |
| 685 | fn test_sink_discards_output() { |
| 686 | use std::io::Write; |
| 687 | |
| 688 | let sink = Sink::new(); |
| 689 | assert!(!sink.is_writable("/any/path").unwrap()); |
| 690 | |
| 691 | let mut writer = sink.write_file("/test", Inode::ROOT).unwrap(); |
| 692 | writer.write_all(b"discarded").unwrap(); |
| 693 | // No error, but nothing stored |
| 694 | } |
| 695 | } |
nothing calls this directly
no test coverage detected