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

Function test_writer_into_inner

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

Source from the content-addressed store, hash-verified

956
957 #[test]
958 fn test_writer_into_inner() {
959 let buf = vec![1, 2, 3];
960 let writer = Writer::new(buf);
961 let inner = writer.into_inner();
962 assert_eq!(inner, vec![1, 2, 3]);
963 }
964
965 #[test]
966 fn test_writer_output_line_simple() {

Callers

nothing calls this directly

Calls 1

into_innerMethod · 0.45

Tested by

no test coverage detected