aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/libstore/common-protocol.cc2
-rw-r--r--tests/unit/libstore/protocol.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/libstore/common-protocol.cc b/tests/unit/libstore/common-protocol.cc
index a820cb1c2..1d25f81c7 100644
--- a/tests/unit/libstore/common-protocol.cc
+++ b/tests/unit/libstore/common-protocol.cc
@@ -50,7 +50,7 @@ public:
auto file = goldenMaster(testStem);
StringSink to;
- CommonProto::write(
+ to << CommonProto::write(
*store,
CommonProto::WriteConn { .to = to },
value);
diff --git a/tests/unit/libstore/protocol.hh b/tests/unit/libstore/protocol.hh
index f480f4ad1..269c9f7aa 100644
--- a/tests/unit/libstore/protocol.hh
+++ b/tests/unit/libstore/protocol.hh
@@ -56,7 +56,7 @@ public:
auto file = ProtoTest<Proto, protocolDir>::goldenMaster(testStem);
StringSink to;
- Proto::write(
+ to << Proto::write(
*LibStoreTest::store,
typename Proto::WriteConn {to, version},
value);