aboutsummaryrefslogtreecommitdiff
path: root/pw_rpc/nanopb/method_union_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'pw_rpc/nanopb/method_union_test.cc')
-rw-r--r--pw_rpc/nanopb/method_union_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/pw_rpc/nanopb/method_union_test.cc b/pw_rpc/nanopb/method_union_test.cc
index 0891bfc7c..6eacb5978 100644
--- a/pw_rpc/nanopb/method_union_test.cc
+++ b/pw_rpc/nanopb/method_union_test.cc
@@ -76,8 +76,8 @@ class FakeGeneratedServiceImpl
return Status::Unauthenticated();
}
- StatusWithSize DoNothing(ConstByteSpan, ByteSpan) {
- return StatusWithSize::Unknown();
+ void DoNothing(ConstByteSpan, RawUnaryResponder& responder) {
+ ASSERT_EQ(OkStatus(), responder.Finish({}, Status::Unknown()));
}
void RawStream(ConstByteSpan, RawServerWriter& writer) {