Explorar el Código

Fix build error

Yannic Bonenberger hace 4 años
padre
commit
baef01b756
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/google/protobuf/util/internal/json_stream_parser_test.cc

+ 1 - 1
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);
     util::Status result = RunTest(json, split, setup);
     EXPECT_EQ(util::error::INVALID_ARGUMENT, result.code());
     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()));
     EXPECT_EQ(error_prefix, error_message.substr(0, error_prefix.size()));
   }
   }