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