MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / repro_serialize_bsatn_empty_array

Function repro_serialize_bsatn_empty_array

crates/table/src/table.rs:2573–2577  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2571
2572 #[test]
2573 fn repro_serialize_bsatn_empty_array() {
2574 let ty = AlgebraicType::array(AlgebraicType::U64);
2575 let arr = ArrayValue::from(Vec::<u64>::new().into_boxed_slice());
2576 insert_retrieve_body(ty, AlgebraicValue::from(arr)).unwrap();
2577 }
2578
2579 #[test]
2580 fn repro_serialize_bsatn_debug_assert() {

Callers

nothing calls this directly

Calls 4

insert_retrieve_bodyFunction · 0.85
arrayFunction · 0.50
newFunction · 0.50
unwrapMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…