Skip to content

Commit

Permalink
Merge pull request #1846 from jnyrup/feature/jn/NullableDateOnlyAsser…
Browse files Browse the repository at this point in the history
…tions_ctor_name

Remove constructor parameter for NullableDateOnlyAssertions
  • Loading branch information
jnyrup committed Mar 13, 2022
2 parents 1349525 + d130195 commit b66f77d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Src/FluentAssertions/Primitives/NullableDateOnlyAssertions.cs
Expand Up @@ -12,8 +12,8 @@ namespace FluentAssertions.Primitives
[DebuggerNonUserCode]
public class NullableDateOnlyAssertions : NullableDateOnlyAssertions<NullableDateOnlyAssertions>
{
public NullableDateOnlyAssertions(DateOnly? expected)
: base(expected)
public NullableDateOnlyAssertions(DateOnly? value)
: base(value)
{
}
}
Expand All @@ -25,8 +25,8 @@ public NullableDateOnlyAssertions(DateOnly? expected)
public class NullableDateOnlyAssertions<TAssertions> : DateOnlyAssertions<TAssertions>
where TAssertions : NullableDateOnlyAssertions<TAssertions>
{
public NullableDateOnlyAssertions(DateOnly? expected)
: base(expected)
public NullableDateOnlyAssertions(DateOnly? value)
: base(value)
{
}

Expand Down
Expand Up @@ -2003,12 +2003,12 @@ namespace FluentAssertions.Primitives
}
public class NullableDateOnlyAssertions : FluentAssertions.Primitives.NullableDateOnlyAssertions<FluentAssertions.Primitives.NullableDateOnlyAssertions>
{
public NullableDateOnlyAssertions(System.DateOnly? expected) { }
public NullableDateOnlyAssertions(System.DateOnly? value) { }
}
public class NullableDateOnlyAssertions<TAssertions> : FluentAssertions.Primitives.DateOnlyAssertions<TAssertions>
where TAssertions : FluentAssertions.Primitives.NullableDateOnlyAssertions<TAssertions>
{
public NullableDateOnlyAssertions(System.DateOnly? expected) { }
public NullableDateOnlyAssertions(System.DateOnly? value) { }
public FluentAssertions.AndConstraint<TAssertions> BeNull(string because = "", params object[] becauseArgs) { }
public FluentAssertions.AndConstraint<TAssertions> HaveValue(string because = "", params object[] becauseArgs) { }
public FluentAssertions.AndConstraint<TAssertions> NotBeNull(string because = "", params object[] becauseArgs) { }
Expand Down

0 comments on commit b66f77d

Please sign in to comment.