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

Function test_module_exports

atomic-core/src/change/mod.rs:150–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148
149 #[test]
150 fn test_module_exports() {
151 // Verify all expected types are exported
152 let test_pos =
153 crate::Position::new(crate::Hash::of(b"test"), crate::ChangePosition::new(0));
154
155 let _: Atom<crate::Hash> = Atom::Insertion(Insertion {
156 predecessors: vec![],
157 successors: vec![],
158 flag: crate::EdgeFlags::BLOCK,
159 start: crate::ChangePosition::new(0),
160 end: crate::ChangePosition::new(10),
161 inode: test_pos,
162 });
163
164 let _encoding = Encoding::Utf8;
165
166 let _author = Author::new("Test", None::<String>);
167
168 let _header = ChangeHeader::default();
169 }
170}

Callers

nothing calls this directly

Calls 1

InsertionClass · 0.85

Tested by

no test coverage detected