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

Function test_initial_state

atomic-core/src/change/format_v3/writer/tests.rs:140–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

138
139#[test]
140fn test_initial_state() {
141 let mut buf = Vec::new();
142 let writer = ChangeWriter::new(&mut buf, WriterOptions::default());
143 assert_eq!(writer.state_name(), "CREATED");
144 assert_eq!(buf.len(), 0);
145}
146
147// ── State Machine: File Header ─────────────────────────────────
148

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected