Skip to content

Commit 36a5aec

Browse files
committed
fix formatting
1 parent d9adeef commit 36a5aec

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

tests/src/test_e2e.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void testPubSub()
7575
instrumentedAllocatorNew(&alloc_rx_payload);
7676
const UdpardTxMemoryResources mem_tx{
7777
.fragment = instrumentedAllocatorMakeMemoryResource(&alloc_tx),
78-
.payload = instrumentedAllocatorMakeMemoryResource(&alloc_tx),
78+
.payload = instrumentedAllocatorMakeMemoryResource(&alloc_tx),
7979
};
8080
const UdpardRxMemoryResources mem_rx{
8181
.session = instrumentedAllocatorMakeMemoryResource(&alloc_rx_session),
@@ -415,7 +415,7 @@ void testRPC()
415415
instrumentedAllocatorNew(&alloc_rx_payload);
416416
const UdpardTxMemoryResources mem_tx{
417417
.fragment = instrumentedAllocatorMakeMemoryResource(&alloc_tx),
418-
.payload = instrumentedAllocatorMakeMemoryResource(&alloc_tx),
418+
.payload = instrumentedAllocatorMakeMemoryResource(&alloc_tx),
419419
};
420420
const UdpardRxMemoryResources mem_rx{
421421
.session = instrumentedAllocatorMakeMemoryResource(&alloc_rx_session),

tests/src/test_tx.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ void testPublish()
8888
instrumentedAllocatorNew(&alloc);
8989
const UdpardTxMemoryResources mem = {
9090
.fragment = instrumentedAllocatorMakeMemoryResource(&alloc),
91-
.payload = instrumentedAllocatorMakeMemoryResource(&alloc),
91+
.payload = instrumentedAllocatorMakeMemoryResource(&alloc),
9292
};
93-
const UdpardNodeID node_id = 1234;
93+
const UdpardNodeID node_id = 1234;
9494
//
9595
UdpardTx tx{
9696
.local_node_id = &node_id,
@@ -223,9 +223,9 @@ void testRequest()
223223
instrumentedAllocatorNew(&alloc);
224224
const UdpardTxMemoryResources mem = {
225225
.fragment = instrumentedAllocatorMakeMemoryResource(&alloc),
226-
.payload = instrumentedAllocatorMakeMemoryResource(&alloc),
226+
.payload = instrumentedAllocatorMakeMemoryResource(&alloc),
227227
};
228-
const UdpardNodeID node_id = 1234;
228+
const UdpardNodeID node_id = 1234;
229229
//
230230
UdpardTx tx{
231231
.local_node_id = &node_id,
@@ -376,9 +376,9 @@ void testRespond()
376376
instrumentedAllocatorNew(&alloc);
377377
const UdpardTxMemoryResources mem = {
378378
.fragment = instrumentedAllocatorMakeMemoryResource(&alloc),
379-
.payload = instrumentedAllocatorMakeMemoryResource(&alloc),
379+
.payload = instrumentedAllocatorMakeMemoryResource(&alloc),
380380
};
381-
const UdpardNodeID node_id = 1234;
381+
const UdpardNodeID node_id = 1234;
382382
//
383383
UdpardTx tx{
384384
.local_node_id = &node_id,
@@ -399,7 +399,7 @@ void testRespond()
399399
9876543210,
400400
{.size = FleetingEvents.size(), .data = FleetingEvents.data()},
401401
&user_transfer_referent));
402-
TEST_ASSERT_EQUAL(1 * 2ULL, alloc.allocated_fragments);
402+
TEST_ASSERT_EQUAL(1 * 2ULL, alloc.allocated_fragments);
403403
TEST_ASSERT_EQUAL(1, tx.queue_size);
404404
const auto* frame = udpardTxPeek(&tx);
405405
std::cout << hexdump::hexdump(frame->datagram_payload.data, frame->datagram_payload.size) << "\n\n";

0 commit comments

Comments
 (0)