MCPcopy Create free account
hub / github.com/hashintel/hash / test_messages

Function test_messages

libs/error-stack/tests/test_attach.rs:9–14  ·  view source on GitHub ↗
(report: &Report<E>)

Source from the content-addressed store, hash-verified

7use error_stack::{AttachmentKind, FrameKind, FutureExt as _, Report, ResultExt as _};
8
9fn test_messages<E>(report: &Report<E>) {
10 assert_eq!(
11 remove_builtin_messages(messages(report)),
12 remove_builtin_messages(["opaque", "opaque", "opaque", "opaque", "root error"])
13 );
14}
15
16fn test_kinds<E>(report: &Report<E>) {
17 assert_kinds!(

Callers 3

attach_opaqueFunction · 0.70
attach_resultFunction · 0.70
attach_futureFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected