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

Function test_error_display_change_store

atomic-core/src/output/repo/file.rs:1270–1277  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1268
1269 #[test]
1270 fn test_error_display_change_store() {
1271 let err: FileOutputError<std::io::Error> =
1272 FileOutputError::ChangeStore("content not found".to_string());
1273 let display = format!("{}", err);
1274
1275 assert!(display.contains("Change store error"));
1276 assert!(display.contains("content not found"));
1277 }
1278
1279 #[test]
1280 fn test_error_display_io() {

Callers

nothing calls this directly

Calls 1

ChangeStoreInterface · 0.50

Tested by

no test coverage detected