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

Function test_display_io

atomic-core/src/output/repo/error.rs:490–499  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

488
489 #[test]
490 fn test_display_io() {
491 let err = OutputError::io(std::io::Error::new(
492 std::io::ErrorKind::NotFound,
493 "file not found",
494 ));
495 let display = err.to_string();
496
497 assert!(display.contains("I/O error"));
498 assert!(display.contains("file not found"));
499 }
500
501 #[test]
502 fn test_display_working_copy() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected