MCPcopy Create free account
hub / github.com/LEXUGE/dcompass / check_fail_recursion

Function check_fail_recursion

dcompass/src/tests.rs:90–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88
89#[tokio::test]
90async fn check_fail_recursion() {
91 match init(serde_yaml::from_str(include_str!("../../configs/fail_recursion.json")).unwrap())
92 .await
93 .err()
94 .unwrap()
95 {
96 ScriptError::UpstreamError(UpstreamError::HybridRecursion(_)) => {}
97 e => panic!("Not the right error type: {}", e),
98 };
99}

Callers

nothing calls this directly

Calls 1

initFunction · 0.85

Tested by

no test coverage detected