Fixing objc tests

pull/8653/head
Deanna Garcia 4 years ago
parent eb57ffe807
commit 2f8d310048
  1. 4
      objectivec/Tests/GPBDescriptorTests.m

@ -305,7 +305,7 @@
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);
@ -330,7 +330,7 @@
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],

Loading…
Cancel
Save