Index: third_party/protobuf/csharp/src/Google.Protobuf.Test/FieldCodecTest.cs |
diff --git a/third_party/protobuf/csharp/src/Google.Protobuf.Test/FieldCodecTest.cs b/third_party/protobuf/csharp/src/Google.Protobuf.Test/FieldCodecTest.cs |
index 38ba227f6d50e4fb683aa029149cee3510f161eb..c616470e81fc6e8821283c68f87e2b5855659823 100644 |
--- a/third_party/protobuf/csharp/src/Google.Protobuf.Test/FieldCodecTest.cs |
+++ b/third_party/protobuf/csharp/src/Google.Protobuf.Test/FieldCodecTest.cs |
@@ -58,7 +58,7 @@ namespace Google.Protobuf |
new FieldCodecTestData<float>(FieldCodec.ForFloat(100), 1234.5f, "Float"), |
new FieldCodecTestData<double>(FieldCodec.ForDouble(100), 1234567890.5d, "Double"), |
new FieldCodecTestData<ForeignEnum>( |
- FieldCodec.ForEnum(100, t => (int) t, t => (ForeignEnum) t), ForeignEnum.FOREIGN_BAZ, "Enum"), |
+ FieldCodec.ForEnum(100, t => (int) t, t => (ForeignEnum) t), ForeignEnum.ForeignBaz, "Enum"), |
new FieldCodecTestData<ForeignMessage>( |
FieldCodec.ForMessage(100, ForeignMessage.Parser), new ForeignMessage { C = 10 }, "Message"), |
}; |