Skip to content

Commit 439d4de

Browse files
committed
Run InsertField for proto3
1 parent 4b3d783 commit 439d4de

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/mutator_test.cc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -493,12 +493,6 @@ TEST_P(MutatorFieldInsDelTest, DeleteField) {
493493
EXPECT_TRUE(Mutate(*m1_, *m2_));
494494
}
495495

496-
TEST_P(MutatorFieldInsDelTest, InsertField) {
497-
LoadWithoutLine(m1_.get());
498-
LoadWithChangedLine(m2_.get(), 0);
499-
EXPECT_TRUE(Mutate(*m1_, *m2_));
500-
}
501-
502496
class MutatorFieldTest : public MutatorTest {
503497
public:
504498
template <class Msg>
@@ -525,6 +519,12 @@ TEST_P(MutatorFieldTest, Initialized) {
525519
EXPECT_TRUE(m1_->IsInitialized());
526520
}
527521

522+
TEST_P(MutatorFieldTest, InsertField) {
523+
LoadWithoutLine(m1_.get());
524+
LoadWithChangedLine(m2_.get(), 1);
525+
EXPECT_TRUE(Mutate(*m1_, *m2_));
526+
}
527+
528528
TEST_P(MutatorFieldTest, ChangeField) {
529529
LoadWithChangedLine(m1_.get(), 0);
530530
LoadWithChangedLine(m2_.get(), 1);

0 commit comments

Comments
 (0)