MCPcopy Create free account
hub / github.com/cel-rust/cel-rust / test_value_holder_dbg

Function test_value_holder_dbg

cel/src/objects.rs:2183–2192  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2181
2182 #[test]
2183 fn test_value_holder_dbg() {
2184 let opaque = Arc::new(MyStruct {
2185 field: "not so opaque".to_string(),
2186 });
2187 let opaque = Value::Opaque(opaque);
2188 assert_eq!(
2189 "Opaque<my_struct>(MyStruct { field: \"not so opaque\" })",
2190 format!("{:?}", opaque)
2191 );
2192 }
2193
2194 #[test]
2195 #[cfg(feature = "json")]

Callers

nothing calls this directly

Calls 1

OpaqueInterface · 0.85

Tested by

no test coverage detected