()
| 170 | |
| 171 | #[test] |
| 172 | fn test_line_change_summary() { |
| 173 | let line = SemanticLine::new(b"added\n", 1); |
| 174 | let tokens = create_insertion_tokens(&line); |
| 175 | let change = LineChange::Added { |
| 176 | line_num: 1, |
| 177 | line, |
| 178 | tokens, |
| 179 | }; |
| 180 | let summary = change.summary(); |
| 181 | assert!(summary.starts_with("+1:")); |
| 182 | } |
| 183 | |
| 184 | // SemanticDiffStats tests |
| 185 |
nothing calls this directly
no test coverage detected