chore: suppress dead_code warning on truncate_to_chars, fix test formatting

- types.rs: add #[allow(dead_code)] to truncate_to_chars now that
  data-layer truncation was removed in favor of flex-width rendering
- timeline_seed_tests.rs: reformat multi-line assert_eq for clarity
- ollama_mgmt.rs: collapse method chain formatting
This commit is contained in:
teernisse
2026-03-13 11:13:40 -04:00
parent 20753608e8
commit e4cf4e872d
3 changed files with 7 additions and 5 deletions

View File

@@ -288,7 +288,11 @@ fn test_seed_evidence_snippet_truncated() {
if let TimelineEventType::NoteEvidence { snippet, .. } =
&result.evidence_notes[0].event_type
{
assert_eq!(snippet.chars().count(), 500, "snippet should preserve full body text");
assert_eq!(
snippet.chars().count(),
500,
"snippet should preserve full body text"
);
} else {
panic!("Expected NoteEvidence");
}