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

Function multiline

libs/error-stack/tests/test_debug.rs:325–333  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

323
324 #[test]
325 fn multiline() {
326 let _guard = prepare(false);
327
328 let report = create_report()
329 .attach("A multiline\nattachment\nthat might have some\nadditional info")
330 .attach("A multiline\nattachment\nthat might have some\nadditional info");
331
332 assert_snapshot!(format!("{report:#?}"));
333 }
334
335 /// Generate the `Debug` for:
336 ///

Callers

nothing calls this directly

Calls 3

prepareFunction · 0.70
create_reportFunction · 0.70
attachMethod · 0.45

Tested by

no test coverage detected