From bc0de9955c375cf27d52c9934403964205afc182 Mon Sep 17 00:00:00 2001 From: salmonik Date: Thu, 29 Oct 2026 22:16:15 +0100 Subject: formatting --- tests/protocol.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tests/protocol.rs') diff --git a/tests/protocol.rs b/tests/protocol.rs index 2962574..bf8a4fd 100644 --- a/tests/protocol.rs +++ b/tests/protocol.rs @@ -40,8 +40,14 @@ fn reads_multiple_lines_from_a_reader() { let mut buffer = LineBuffer::new(); let mut reader = Cursor::new(b"one\ntwo\n".to_vec()); - assert_eq!(buffer.read_line(&mut reader).unwrap().as_deref(), Some("one")); - assert_eq!(buffer.read_line(&mut reader).unwrap().as_deref(), Some("two")); + assert_eq!( + buffer.read_line(&mut reader).unwrap().as_deref(), + Some("one") + ); + assert_eq!( + buffer.read_line(&mut reader).unwrap().as_deref(), + Some("two") + ); assert_eq!(buffer.read_line(&mut reader).unwrap(), None); } -- cgit v1.2.3