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:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user