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

Function test_display

atomic-core/src/output/repo/outcome.rs:670–676  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

668
669 #[test]
670 fn test_display() {
671 let mut outcome = OutputOutcome::new();
672 outcome.record_file("main.rs", 100);
673
674 let display = format!("{}", outcome);
675 assert!(display.contains("1 file written"));
676 }
677
678 // ------------------------------------------------------------------------
679 // FileWritten Tests

Callers

nothing calls this directly

Calls 1

record_fileMethod · 0.45

Tested by

no test coverage detected