Skip to content

Commit

Permalink
Fixing objc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
deannagarcia committed May 25, 2021
1 parent eb57ffe commit 2f8d310
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions objectivec/Tests/GPBDescriptorTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ - (void)testOneofDescriptor {
GPBDescriptor *descriptor = [TestOneof2 descriptor];

// All fields should be listed.
XCTAssertEqual(descriptor.fields.count, 17U);
XCTAssertEqual(descriptor.fields.count, 21U);

// There are two oneofs in there.
XCTAssertEqual(descriptor.oneofs.count, 2U);
Expand All @@ -330,7 +330,7 @@ - (void)testOneofDescriptor {

GPBOneofDescriptor *oneofBar = [descriptor oneofWithName:@"bar"];
XCTAssertNotNil(oneofBar);
XCTAssertEqual(oneofBar.fields.count, 6U);
XCTAssertEqual(oneofBar.fields.count, 10U);

// Pointer comparisons.
XCTAssertEqual([oneofBar fieldWithNumber:TestOneof2_FieldNumber_BarString],
Expand Down

0 comments on commit 2f8d310

Please sign in to comment.