aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pw_protobuf/codegen_encoder_test.cc2
-rw-r--r--pw_protobuf/pw_protobuf_test_protos/proto2.proto2
2 files changed, 2 insertions, 2 deletions
diff --git a/pw_protobuf/codegen_encoder_test.cc b/pw_protobuf/codegen_encoder_test.cc
index 673213d88..93bb02db3 100644
--- a/pw_protobuf/codegen_encoder_test.cc
+++ b/pw_protobuf/codegen_encoder_test.cc
@@ -428,7 +428,7 @@ TEST(Codegen, Proto2) {
std::byte encode_buffer[64];
Foo::MemoryEncoder foo(encode_buffer);
- foo.WriteInt(3).IgnoreError(); // TODO(pwbug/387): Handle Status properly
+ foo.WriteInteger(3).IgnoreError(); // TODO(pwbug/387): Handle Status properly
{
constexpr std::byte data[] = {
diff --git a/pw_protobuf/pw_protobuf_test_protos/proto2.proto b/pw_protobuf/pw_protobuf_test_protos/proto2.proto
index c8d9e8e08..58d9a87d4 100644
--- a/pw_protobuf/pw_protobuf_test_protos/proto2.proto
+++ b/pw_protobuf/pw_protobuf_test_protos/proto2.proto
@@ -16,7 +16,7 @@ syntax = "proto2";
package pw.protobuf.test;
message Foo {
- required uint32 int = 1;
+ required uint32 integer = 1;
optional string str = 2;
repeated Bar bar = 3;
optional pb pb = 4;