()
| 905 | |
| 906 | #[test] |
| 907 | fn test_recorded_take_contents() { |
| 908 | let mut builder = RecordBuilder::new(); |
| 909 | builder.append_contents(b"hello world"); |
| 910 | |
| 911 | let recorded = builder.finish(); |
| 912 | let contents = recorded.take_contents(); |
| 913 | |
| 914 | assert_eq!(contents, b"hello world"); |
| 915 | } |
| 916 | |
| 917 | #[test] |
| 918 | fn test_recorded_take_updatables() { |
nothing calls this directly
no test coverage detected