From baef01b7566075cf91e437b6322fbf582ec713dc Mon Sep 17 00:00:00 2001 From: Yannic Bonenberger Date: Tue, 9 Mar 2021 22:18:43 +0100 Subject: [PATCH] Fix build error --- src/google/protobuf/util/internal/json_stream_parser_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google/protobuf/util/internal/json_stream_parser_test.cc b/src/google/protobuf/util/internal/json_stream_parser_test.cc index 5e25a98d58bc..9d38a4f618be 100644 --- a/src/google/protobuf/util/internal/json_stream_parser_test.cc +++ b/src/google/protobuf/util/internal/json_stream_parser_test.cc @@ -150,7 +150,7 @@ class JsonStreamParserTest : public ::testing::Test { }) { util::Status result = RunTest(json, split, setup); EXPECT_EQ(util::error::INVALID_ARGUMENT, result.code()); - StringPiece error_message(result.error_message()); + StringPiece error_message(result.message()); EXPECT_EQ(error_prefix, error_message.substr(0, error_prefix.size())); }