MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_history_error_database

Function test_history_error_database

atomic-repository/src/history/tests.rs:408–412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

406
407#[test]
408fn test_history_error_database() {
409 let error = HistoryError::Database("connection failed".to_string());
410 let msg = format!("{}", error);
411 assert!(msg.contains("connection failed"));
412}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected