test(daemon): match a reply by its id instead of taking the next line

A connection that has joined a room receives event notifications on the
same socket as its replies, so a notification landing between a request
and its answer was read as the answer. Only replies carry an id.
This commit is contained in:
Michel de Graaf
2026-07-29 10:37:48 +02:00
parent ab5cef8cfe
commit 30698aa7ce
2 changed files with 17 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
# Generated and compared byte-for-byte by `daemon::openrpc::document_is_current`,
# which builds its expectation with `\n`. A CRLF checkout would fail that test on
# Windows.
docs/openrpc.json text eol=lf