MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_writer_into_inner

Function test_writer_into_inner

atomic-core/src/output/traits.rs:937–942  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

935
936 #[test]
937 fn test_writer_into_inner() {
938 let buf = vec![1, 2, 3];
939 let writer = Writer::new(buf);
940 let inner = writer.into_inner();
941 assert_eq!(inner, vec![1, 2, 3]);
942 }
943
944 #[test]
945 fn test_writer_output_line_simple() {

Callers

nothing calls this directly

Calls 1

into_innerMethod · 0.45

Tested by

no test coverage detected