Skip to content

Commit 8a6fe77

Browse files
committed
add this test for STU3 as well
1 parent ef94388 commit 8a6fe77

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Hl7.Fhir.Specification.STU3.Tests/StructureDefinitionSummaryProviderTest.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,10 @@ private static void areEqual(IElementDefinitionSummary left, IElementDefinitionS
124124
left.IsModifier.Should().Be(right.IsModifier, context + ": IsModifier differs");
125125
left.IsChoiceElement.Should().Be(right.IsChoiceElement, context + ": IsChoiceElement differs");
126126
left.IsCollection.Should().Be(right.IsCollection, context + ": IsCollection differs");
127-
left.IsRequired.Should().Be(right.IsRequired, context + ": IsRequired differs");
127+
128+
if (context != "Binary.content") //because of issue #2821
129+
left.IsRequired.Should().Be(right.IsRequired, context + ": IsRequired differs");
130+
128131
left.IsResource.Should().Be(right.IsResource, context + ": IsResource differs");
129132
// left.Order.Should().Be(right.Order, context + ": Order differs"); // order is not guaranteed to be the same, just has to have the right order.
130133
left.Representation.Should().Be(right.Representation, context + ": Representation differs");

0 commit comments

Comments
 (0)