MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / test_conn

Function test_conn

src/sessions/git_correlation/tests.rs:17–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17async fn test_conn() -> Connection {
18 let db = Builder::new_local(":memory:")
19 .build()
20 .await
21 .expect("in-memory db");
22 let conn = db.connect().expect("connect");
23 ensure_git_correlation_schema(&conn)
24 .await
25 .expect("schema should apply");
26 conn
27}
28
29#[test]
30fn normalize_worktree_strips_trailing_slashes_and_backslashes() {

Calls 3

buildMethod · 0.80
connectMethod · 0.45

Tested by

no test coverage detected