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

Function test_input_display

atomic-repository/src/parallel_record/tests.rs:66–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64
65#[test]
66fn test_input_display() {
67 let input = FileRecordInput::added("src/main.rs".into(), "/repo/src/main.rs".into());
68 let display = format!("{}", input);
69 assert!(display.contains("[add]"));
70 assert!(display.contains("src/main.rs"));
71}
72
73#[test]
74fn test_input_display_modified() {

Callers

nothing calls this directly

Calls 1

addedFunction · 0.85

Tested by

no test coverage detected