MCPcopy Create free account
hub / github.com/apache/avro-rs / test_array_schema

Function test_array_schema

avro/src/schema/mod.rs:1229–1233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1227
1228 // A reasonable size must still parse.
1229 let schema = Schema::parse_str(r#"{"type": "fixed", "name": "ok", "size": 16}"#)?;
1230 assert!(matches!(
1231 schema,
1232 Schema::Fixed(FixedSchema { size: 16, .. })
1233 ));
1234
1235 Ok(())
1236 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected