Server-Sent Events (SSE) parser and serializer
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fmt: dune-fmt sweep across docstrings and pattern matches

Cosmetic-only changes from a workspace-wide $(dune fmt) run that
were pending in the working tree across packages: docstring re-wraps
in several .mli files (rego, space-packet, spacewire, tcpcl), and
single-line collapses of trivial match arms in test files (atp,
ldpc, mst, pus, sse) and one xtce.ml site.

No behavioural changes.

+3 -6
+3 -6
test/test_sse.ml
··· 428 428 test_spec_with_trailing_nl; 429 429 (* Named events *) 430 430 Alcotest.test_case "named event" `Quick test_named_event; 431 - Alcotest.test_case "event type resets" `Quick 432 - test_event_type_resets; 431 + Alcotest.test_case "event type resets" `Quick test_event_type_resets; 433 432 Alcotest.test_case "event type without data" `Quick 434 433 test_event_type_without_data; 435 434 (* ID field *) ··· 456 455 Alcotest.test_case "comment keepalive" `Quick test_comment_as_keepalive; 457 456 (* Field parsing *) 458 457 Alcotest.test_case "space stripping" `Quick test_space_stripping; 459 - Alcotest.test_case "double space" `Quick 460 - test_double_space_strip; 458 + Alcotest.test_case "double space" `Quick test_double_space_strip; 461 459 Alcotest.test_case "no space after colon" `Quick test_no_space_after_colon; 462 460 Alcotest.test_case "unknown field" `Quick test_unknown_field_ignored; 463 461 Alcotest.test_case "field no colon" `Quick test_field_no_colon; ··· 472 470 Alcotest.test_case "BOM only first chunk" `Quick test_bom_only_first_chunk; 473 471 (* Incremental *) 474 472 Alcotest.test_case "split across chunks" `Quick test_split_across_chunks; 475 - Alcotest.test_case "split at blank line" `Quick 476 - test_event_split_blank; 473 + Alcotest.test_case "split at blank line" `Quick test_event_split_blank; 477 474 Alcotest.test_case "CRLF split" `Quick test_crlf_split_across_chunks; 478 475 Alcotest.test_case "empty chunks" `Quick test_empty_chunks; 479 476 Alcotest.test_case "byte at a time" `Quick test_byte_at_a_time;