Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek-galezowski committed Feb 11, 2024
1 parent c2307e3 commit 97c8cb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/netstandard2.0/AnySpecification/Fixtures/DynamicHolder.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
namespace AnySpecification.Fixtures;

#pragma warning disable CS0612
public record DynamicHolder(dynamic D);
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Linq;
using AnySpecification.Fixtures;
using AutoFixture.Kernel;
using FluentAssertions;
using static TddXt.AnyGenerators.Root.InlineGenerators;
Expand Down Expand Up @@ -186,6 +187,4 @@ public void ShouldAllowGeneratingDynamicObjects()
Assert.That(dynamicHolder.D, Is.Not.Null);
Assert.That(dynamicHolder.D, Is.InstanceOf<object>());
}

public record DynamicHolder(dynamic D);
}

0 comments on commit 97c8cb4

Please sign in to comment.