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

Function test_into_inner

atomic-core/src/output/repo/writer.rs:678–683  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

676
677 #[test]
678 fn test_into_inner() {
679 let buffer = with_writer(|writer| {
680 writer.write_all(b"test").unwrap();
681 });
682 assert_eq!(buffer, b"test");
683 }
684
685 // ------------------------------------------------------------------------
686 // VertexBuffer output_line Tests

Callers

nothing calls this directly

Calls 2

with_writerFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected