Skip to content

Commit 845ae03

Browse files
style: format test_sse_streaming_chunk_format assertion
Signed-off-by: Michael A. Kuykendall <michaelallenkuykendall@gmail.com>
1 parent aea8f83 commit 845ae03

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/core.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,10 @@ fn test_sse_streaming_chunk_format() {
497497

498498
// Serialized JSON must not contain duplicate "data:" anywhere
499499
let serialized = serde_json::to_string(&token).unwrap();
500-
assert!(!serialized.contains("data:"), "JSON payload must not contain 'data:' prefix — that comes from the SSE transport layer");
500+
assert!(
501+
!serialized.contains("data:"),
502+
"JSON payload must not contain 'data:' prefix — that comes from the SSE transport layer"
503+
);
501504
}
502505

503506
// ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)