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

Function test_format_code_learning_with_range

atomic-agent/src/learnings.rs:726–729  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

724
725 #[test]
726 fn test_format_code_learning_with_range() {
727 let learning = CodeLearning::new("f.rs", Some(10), "Issue").with_end_line(20);
728 assert_eq!(format_code_learning(&learning), "f.rs:10-20 — Issue");
729 }
730
731 #[test]
732 fn test_format_code_learning_full() {

Callers

nothing calls this directly

Calls 1

with_end_lineMethod · 0.80

Tested by

no test coverage detected