Unverified Commit c9a30c2c authored by Feng Xiao's avatar Feng Xiao Committed by GitHub

Merge pull request #5020 from brian-peloton/master

Fix broken test of const repeated field iterators
parents 9bbc4b1f 2f656087
......@@ -1055,7 +1055,7 @@ TEST(ExtensionSetTest, RepeatedFields) {
unittest::repeated_nested_enum_extension).begin(),
enum_const_end = message.GetRepeatedExtension(
unittest::repeated_nested_enum_extension).end();
enum_iter != enum_end; ++enum_iter) {
enum_const_iter != enum_const_end; ++enum_const_iter) {
ASSERT_EQ(*enum_const_iter, unittest::TestAllTypes::NestedEnum_MAX);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment